From 7acaa996ed8dea5723df6e83729236e57e6eb850 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 5 Dec 2011 10:28:45 +0100 Subject: The semantics for a missing 'If-Match' aren't the same as '*' --- src/cowboy_http_req.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cowboy_http_req.erl') 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. -- cgit v1.2.3