diff options
Diffstat (limited to 'src/cowboy_http_req.erl')
-rw-r--r-- | src/cowboy_http_req.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_http_req.erl b/src/cowboy_http_req.erl index 06f1e6b..539c7f0 100644 --- a/src/cowboy_http_req.erl +++ b/src/cowboy_http_req.erl @@ -221,7 +221,7 @@ parse_header(Name, Req=#http_req{p_headers=PHeaders}, Default) case header(Name, Req) of {undefined, Req2} -> {tokens, Default, Req2}; {Value, Req2} -> - case cowboy_http:nonempty_list(Value, fun cowboy_http:token/2) of + case cowboy_http:nonempty_list(Value, fun cowboy_http:token_ci/2) of {error, badarg} -> {error, badarg}; P -> |