aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_http_req.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2011-12-05 10:28:45 +0100
committerLoïc Hoguin <[email protected]>2011-12-05 10:28:45 +0100
commit7acaa996ed8dea5723df6e83729236e57e6eb850 (patch)
treed6acce0df168ad3cfd52df4a16f3cee2ecaa9f83 /src/cowboy_http_req.erl
parent99d8f837fe4af42edfdba1e83659f1ca8d75d17d (diff)
downloadcowboy-7acaa996ed8dea5723df6e83729236e57e6eb850.tar.gz
cowboy-7acaa996ed8dea5723df6e83729236e57e6eb850.tar.bz2
cowboy-7acaa996ed8dea5723df6e83729236e57e6eb850.zip
The semantics for a missing 'If-Match' aren't the same as '*'
Diffstat (limited to 'src/cowboy_http_req.erl')
-rw-r--r--src/cowboy_http_req.erl4
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.