Skip to content

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

Merged
WyriHaximus merged 1 commit intoreactphp:masterfrom
clue-labs:close-unused-body
Nov 6, 2021
Merged

Explicitly close streaming response body when body MUST be empty#429
WyriHaximus merged 1 commit intoreactphp:masterfrom
clue-labs:close-unused-body

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