Skip to content

Conversation

@clue
Copy link
Owner

@clue clue commented Feb 4, 2022

This changeset updates the HTTP component for the built-in web server to improve protocol handling for HTTP responses with no body.

In particular, we no longer include a misleading Content-Length: 0 response header for 304 Not Modified response when using the built-in web server. Likewise, you can now explicitly define the optional Content-Length response header for 304 Not Modified response when using the built-in web server. In other words, the behavior is now more consistent across all web server implementations.

Builds on top of #51 and refs reactphp/http#429 and reactphp/http#430

@clue clue added bug Something isn't working new feature New feature or request labels Feb 4, 2022
@clue clue requested a review from SimonFrings February 4, 2022 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working new feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants