0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 20:30:23 +00:00

The semantics for a missing 'If-Match' aren't the same as '*'

This commit is contained in:
Loïc Hoguin 2011-12-05 10:28:45 +01:00
parent 99d8f837fe
commit 7acaa996ed

View file

@ -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.