aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/cowboy_http_req.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_http_req.erl b/src/cowboy_http_req.erl
index 649f41d..569bb9b 100644
--- a/src/cowboy_http_req.erl
+++ b/src/cowboy_http_req.erl
@@ -136,7 +136,7 @@ header(Name, Req, Default) ->
end.
-spec headers(Req::#http_req{})
- -> {list({Name::atom() | string(), Value::string()}), Req::#http_req{}}.
+ -> {Headers::http_headers(), Req::#http_req{}}.
headers(Req) ->
{Req#http_req.headers, Req}.