diff options
author | Loïc Hoguin <[email protected]> | 2013-05-16 16:16:32 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2013-05-16 16:16:32 +0200 |
commit | f8a78561271fb1c09008a31d46ac8d5987d9f83e (patch) | |
tree | 8bf8a9257d1891f3892ba7ed8e92915e3414957c /src/cowboy.erl | |
parent | c0c333e41bcd7d89a48a5c35d8e21b305c35627e (diff) | |
download | cowboy-f8a78561271fb1c09008a31d46ac8d5987d9f83e.tar.gz cowboy-f8a78561271fb1c09008a31d46ac8d5987d9f83e.tar.bz2 cowboy-f8a78561271fb1c09008a31d46ac8d5987d9f83e.zip |
Move cowboy_http:headers() to cowboy:http_headers()
Diffstat (limited to 'src/cowboy.erl')
-rw-r--r-- | src/cowboy.erl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cowboy.erl b/src/cowboy.erl index d9e32e7..e2868a1 100644 --- a/src/cowboy.erl +++ b/src/cowboy.erl @@ -20,6 +20,9 @@ -export([stop_listener/1]). -export([set_env/3]). +-type http_headers() :: [{binary(), iodata()}]. +-export_type([http_headers/0]). + -type http_version() :: 'HTTP/1.1' | 'HTTP/1.0'. -export_type([http_version/0]). |