diff options
author | Loïc Hoguin <[email protected]> | 2011-08-23 16:20:53 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2011-08-23 16:20:53 +0200 |
commit | 24bf2c54d0f8e5a9edfa6f0fe8dfd01e2a57e1b0 (patch) | |
tree | 44ed0b47475b49ba8362e21d067d053a38f403a5 /LICENSE | |
parent | d858153fcee803fa1d4e73ba9ea3a3f60d9520e7 (diff) | |
download | cowboy-24bf2c54d0f8e5a9edfa6f0fe8dfd01e2a57e1b0.tar.gz cowboy-24bf2c54d0f8e5a9edfa6f0fe8dfd01e2a57e1b0.tar.bz2 cowboy-24bf2c54d0f8e5a9edfa6f0fe8dfd01e2a57e1b0.zip |
Ensure header names are handled in a case insensitive manner
To this end we are formatting the header names just like OTP does
except we do it for names of up to 32 characters, as there are
widely used header names of more than 20 characters, the limit that
OTP follows currently. An example of such header name would be
Sec-Websocket-Version.
The formatting itself is fairly simple: an uppercase character at
the start and after dashes, everything else lowercase.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions