Skip to content

Conversation

@clue
Copy link
Member

@clueclue commented Feb 19, 2017

Currently, sending an invalid request results in the same error message as sending a valid request that is too large: HTTP/1.1 400 Bad Request.

This simple PR change it so that the latter will now use the more descriptive error message: HTTP/1.1 431 Request Header Fields Too Large

Builds on top of #124

@clueclue added this to the v0.6.0 milestone Feb 19, 2017
@clueclue changed the title Send HTTP status code 431 is request header is too largeSend HTTP status code 431 if request header is too largeFeb 19, 2017
@clue
Copy link
MemberAuthor

clue commented Feb 19, 2017

Rebased now that #125 is in :shipit:

Copy link
Member

@WyriHaximusWyriHaximus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good but could you fix merge conflicts?

@clue
Copy link
MemberAuthor

clue commented Feb 21, 2017

Rebased now that #127 is in :shipit:

@clueclue merged commit 3616d16 into reactphp:masterFeb 21, 2017
@clueclue deleted the error-overflow branch February 21, 2017 07:29
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@jsor@WyriHaximus