From 16d3cb76c7b7d82301ab6542f8c6e94a4ee358d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 23 Jan 2012 09:43:26 +0100 Subject: Rename the type http_status/0 to cowboy_http:status/0 --- src/cowboy_http.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/cowboy_http.erl') 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"). -- cgit v1.2.3