diff options
author | Ali Sabil <[email protected]> | 2012-03-09 12:13:30 +0100 |
---|---|---|
committer | Ali Sabil <[email protected]> | 2012-03-09 12:13:30 +0100 |
commit | 32a46f898ad999c0a62707807fb02b6805f42ebd (patch) | |
tree | b5d06f5ef46de4e9e428fd6b202674479df88c32 /src/cowboy_dispatcher.erl | |
parent | c6c2b31695b6ee5a5d8b10e8b4c34baf510f8f25 (diff) | |
download | cowboy-32a46f898ad999c0a62707807fb02b6805f42ebd.tar.gz cowboy-32a46f898ad999c0a62707807fb02b6805f42ebd.tar.bz2 cowboy-32a46f898ad999c0a62707807fb02b6805f42ebd.zip |
Make media type parsing more relaxed
Certain user agents send slightly invalid media types, like the
following: "text/html, image/gif, image/jpeg, ; q=.2, */; q=.2"
The user agent with which this behavior was observed presented itself
with the User-Agent string: "Mozilla/5.0 (Macintosh; U; Intel Mac OS X
10.6; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (FlipboardProxy/0.0.5;
+http://flipboard.com/browserproxy)"
Diffstat (limited to 'src/cowboy_dispatcher.erl')
0 files changed, 0 insertions, 0 deletions