Skip to content

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

Merged
WyriHaximus merged 1 commit into
reactphp:masterfrom
clue-labs:no-content-length
Nov 7, 2021
Merged

Improve assigning Content-Length for 304 Not Modified response#430
WyriHaximus merged 1 commit into
reactphp:masterfrom
clue-labs:no-content-length

Conversation

@clue

@clue clue commented Nov 5, 2021

Copy link
Copy Markdown
Member

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

clue commented Nov 7, 2021

Copy link
Copy Markdown
Member Author

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

3 participants