diff options
author | Loïc Hoguin <[email protected]> | 2011-12-05 10:28:45 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2011-12-05 10:28:45 +0100 |
commit | 7acaa996ed8dea5723df6e83729236e57e6eb850 (patch) | |
tree | d6acce0df168ad3cfd52df4a16f3cee2ecaa9f83 | |
parent | 99d8f837fe4af42edfdba1e83659f1ca8d75d17d (diff) | |
download | cowboy-7acaa996ed8dea5723df6e83729236e57e6eb850.tar.gz cowboy-7acaa996ed8dea5723df6e83729236e57e6eb850.tar.bz2 cowboy-7acaa996ed8dea5723df6e83729236e57e6eb850.zip |
The semantics for a missing 'If-Match' aren't the same as '*'
-rw-r--r-- | src/cowboy_http_req.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cowboy_http_req.erl b/src/cowboy_http_req.erl index 66c8853..765d90b 100644 --- a/src/cowboy_http_req.erl +++ b/src/cowboy_http_req.erl @@ -207,8 +207,8 @@ parse_header_default('Accept-Charset') -> undefined; parse_header_default('Accept-Encoding') -> undefined; parse_header_default('Accept-Language') -> undefined; parse_header_default('Connection') -> []; -parse_header_default('If-Match') -> '*'; -parse_header_default('If-None-Match') -> '*'; +parse_header_default('If-Match') -> undefined; +parse_header_default('If-None-Match') -> undefined; parse_header_default(_Name) -> undefined. %% @doc Semantically parse headers. |