aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cowboy_rest.erl2
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.