From df73a4d0a5cedf6e14ed148e53ba4caac4f27c74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 16 May 2013 16:29:24 +0200 Subject: Move cowboy_http:status() to cowboy:http_status() --- src/cowboy.erl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/cowboy.erl') diff --git a/src/cowboy.erl b/src/cowboy.erl index e2868a1..11a74c1 100644 --- a/src/cowboy.erl +++ b/src/cowboy.erl @@ -23,6 +23,9 @@ -type http_headers() :: [{binary(), iodata()}]. -export_type([http_headers/0]). +-type http_status() :: non_neg_integer() | binary(). +-export_type([http_status/0]). + -type http_version() :: 'HTTP/1.1' | 'HTTP/1.0'. -export_type([http_version/0]). -- cgit v1.2.3