diff options
author | Loïc Hoguin <[email protected]> | 2012-10-11 20:44:53 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2012-10-11 20:44:53 +0200 |
commit | 642a8f73c9fef1fb8ce524169d619a80a6797ab0 (patch) | |
tree | d81668055df569ec68f822669da2f3703c9148b2 /src | |
parent | e128e935af1950b665885f369819a58db88bf61e (diff) | |
download | cowboy-642a8f73c9fef1fb8ce524169d619a80a6797ab0.tar.gz cowboy-642a8f73c9fef1fb8ce524169d619a80a6797ab0.tar.bz2 cowboy-642a8f73c9fef1fb8ce524169d619a80a6797ab0.zip |
Fix Vary header, was wrongly named Variances previously
Diffstat (limited to 'src')
-rw-r--r-- | src/cowboy_rest.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_rest.erl b/src/cowboy_rest.erl index 2f9faa8..c0decbd 100644 --- a/src/cowboy_rest.erl +++ b/src/cowboy_rest.erl @@ -470,7 +470,7 @@ variances(Req, State=#state{content_types_p=CTP, resource_exists(Req3, State2); [[<<", ">>, H]|Variances5] -> Req4 = cowboy_req:set_resp_header( - <<"Variances">>, [H|Variances5], Req3), + <<"Vary">>, [H|Variances5], Req3), resource_exists(Req4, State2) end. |