aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2011-05-04 11:29:06 +0200
committerLoïc Hoguin <[email protected]>2011-05-04 11:29:06 +0200
commitbb800ee0d93da6bf4725002c7a27a2ae6263bb22 (patch)
tree729539c8f37a0fce44b8df7d876504190d684cc2 /src
parent849ec73eb83a78fc67e8b0f7401594db446c9ca4 (diff)
downloadcowboy-bb800ee0d93da6bf4725002c7a27a2ae6263bb22.tar.gz
cowboy-bb800ee0d93da6bf4725002c7a27a2ae6263bb22.tar.bz2
cowboy-bb800ee0d93da6bf4725002c7a27a2ae6263bb22.zip
Use http_headers() type in cowboy_http_req:headers/1.
Diffstat (limited to 'src')
-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}.