aboutsummaryrefslogtreecommitdiffstats
path: root/test/dispatcher_prop.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2011-08-23 16:20:53 +0200
committerLoïc Hoguin <[email protected]>2011-08-23 16:20:53 +0200
commit24bf2c54d0f8e5a9edfa6f0fe8dfd01e2a57e1b0 (patch)
tree44ed0b47475b49ba8362e21d067d053a38f403a5 /test/dispatcher_prop.erl
parentd858153fcee803fa1d4e73ba9ea3a3f60d9520e7 (diff)
downloadcowboy-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 'test/dispatcher_prop.erl')
0 files changed, 0 insertions, 0 deletions