aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_http.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2012-01-23 09:43:26 +0100
committerLoïc Hoguin <[email protected]>2012-01-23 09:43:26 +0100
commit16d3cb76c7b7d82301ab6542f8c6e94a4ee358d5 (patch)
tree91b7ed6f127daae6df83b95c286ead5b790a7590 /src/cowboy_http.erl
parent67e5713b2bd353e8cc22d91ab2b9773540a9764d (diff)
downloadcowboy-16d3cb76c7b7d82301ab6542f8c6e94a4ee358d5.tar.gz
cowboy-16d3cb76c7b7d82301ab6542f8c6e94a4ee358d5.tar.bz2
cowboy-16d3cb76c7b7d82301ab6542f8c6e94a4ee358d5.zip
Rename the type http_status/0 to cowboy_http:status/0
Diffstat (limited to 'src/cowboy_http.erl')
-rw-r--r--src/cowboy_http.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cowboy_http.erl b/src/cowboy_http.erl
index 3324cd4..32b0ca9 100644
--- a/src/cowboy_http.erl
+++ b/src/cowboy_http.erl
@@ -47,8 +47,9 @@
| 'Set-Cookie2' | 'X-Forwarded-For' | 'Cookie' | 'Keep-Alive'
| 'Proxy-Connection' | binary().
-type headers() :: [{header(), iodata()}].
+-type status() :: non_neg_integer() | binary().
--export_type([method/0, uri/0, version/0, header/0, headers/0]).
+-export_type([method/0, uri/0, version/0, header/0, headers/0, status/0]).
-include("include/http.hrl").
-include_lib("eunit/include/eunit.hrl").