aboutsummaryrefslogtreecommitdiffstats
path: root/src/cow_http.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/cow_http.erl')
-rw-r--r--src/cow_http.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cow_http.erl b/src/cow_http.erl
index b59b124..0eccd16 100644
--- a/src/cow_http.erl
+++ b/src/cow_http.erl
@@ -28,7 +28,11 @@
-export([version/1]).
-type version() :: 'HTTP/1.0' | 'HTTP/1.1'.
+-export_type([version/0]).
+
-type status() :: 100..999.
+-export_type([status/0]).
+
-type headers() :: [{binary(), iodata()}].
-export_type([headers/0]).