forked from basho/mochiweb
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Headers must be smaller than recbuf, but in some cases they won't be. Simply returning 400 Bad Request with no indication is not helpful - header code 431 is designed for this - https://tools.ietf.org/html/rfc6585#section-5 This response code is not supported in the erlang httpd_util, so need to override the mapping of codes to response messages for this code to provide the supported return.
- Loading branch information
1 parent
cefba88
commit dc176b1
Showing
3 changed files
with
19 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters