aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/cowboy_req.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cowboy_req.erl b/src/cowboy_req.erl
index 4235f6d..df93ed6 100644
--- a/src/cowboy_req.erl
+++ b/src/cowboy_req.erl
@@ -676,6 +676,7 @@ push(Path, Headers, #{pid := Pid, streamid := StreamID,
%% Internal.
%% @todo What about set-cookie headers set through set_resp_header or reply?
+-spec response_headers(Headers, req()) -> Headers when Headers::cowboy:http_headers().
response_headers(Headers0, Req) ->
RespHeaders = maps:get(resp_headers, Req, #{}),
Headers = maps:merge(#{