Skip to content

Improve assigning Content-Length for 304 Not Modified response #430

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

Merged
merged 1 commit into from
Nov 7, 2021

Conversation

clue
Copy link
Member

@clue clue commented Nov 5, 2021

This changeset ensures we preserve any explicit Content-Length response headers and do not assign a Content-Length: 0 by default for a 304 Not Modified response.

Builds on top of #429, #188 and #156
Refs tornadoweb/tornado#1736 and ninenines/cowboy#1153

@clue clue added this to the v1.6.0 milestone Nov 5, 2021
@clue clue force-pushed the no-content-length branch from 2d200a8 to 5f795a0 Compare November 7, 2021 09:29
@clue
Copy link
Member Author

clue commented Nov 7, 2021

Rebased on master to resolve merge conflict now that #429 is in :shipit:

@WyriHaximus WyriHaximus merged commit e19e987 into reactphp:master Nov 7, 2021
@clue clue deleted the no-content-length branch November 7, 2021 09:49
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.

None yet

3 participants