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

@clueclue 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

@clueclue added this to the v1.6.0 milestone Nov 5, 2021
@clue

clue commented Nov 7, 2021

Copy link
Copy Markdown
MemberAuthor

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

@WyriHaximus
WyriHaximus merged commit e19e987 into reactphp:masterNov 7, 2021
@clue
clue deleted the no-content-length branch November 7, 2021 09:49
Sign up for freeto 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

@clue@WyriHaximus@SimonFrings