diff options
Diffstat (limited to 'src/cowboy_http.erl')
-rw-r--r-- | src/cowboy_http.erl | 3 |
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"). |