Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly close streaming response body when body MUST be empty #429

Merged
merged 1 commit into from
Nov 6, 2021

Conversation

clue
Copy link
Member

@clue clue commented Nov 4, 2021

This changeset ensures we explicitly close any streaming response body when the response body MUST be empty, such as for HEAD requests, 204 No Content and 304 Not Modified.

Builds on top of #188 and #156

@WyriHaximus WyriHaximus merged commit 3e2caeb into reactphp:master Nov 6, 2021
@clue clue deleted the close-unused-body branch November 7, 2021 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants