aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_protocol.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-05-16 16:16:32 +0200
committerLoïc Hoguin <[email protected]>2013-05-16 16:16:32 +0200
commitf8a78561271fb1c09008a31d46ac8d5987d9f83e (patch)
tree8bf8a9257d1891f3892ba7ed8e92915e3414957c /src/cowboy_protocol.erl
parentc0c333e41bcd7d89a48a5c35d8e21b305c35627e (diff)
downloadcowboy-f8a78561271fb1c09008a31d46ac8d5987d9f83e.tar.gz
cowboy-f8a78561271fb1c09008a31d46ac8d5987d9f83e.tar.bz2
cowboy-f8a78561271fb1c09008a31d46ac8d5987d9f83e.zip
Move cowboy_http:headers() to cowboy:http_headers()
Diffstat (limited to 'src/cowboy_protocol.erl')
-rw-r--r--src/cowboy_protocol.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_protocol.erl b/src/cowboy_protocol.erl
index 7c80bfd..41a3c06 100644
--- a/src/cowboy_protocol.erl
+++ b/src/cowboy_protocol.erl
@@ -58,7 +58,7 @@
-type onrequest_fun() :: fun((Req) -> Req).
-type onresponse_fun() ::
- fun((cowboy_http:status(), cowboy_http:headers(), iodata(), Req) -> Req).
+ fun((cowboy_http:status(), cowboy:http_headers(), iodata(), Req) -> Req).
-export_type([onrequest_fun/0]).
-export_type([onresponse_fun/0]).