Browse Source

Export two cow_http types used by Gun

Loïc Hoguin 6 years ago
parent
commit
0ff0b2acfe
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/cow_http.erl

+ 4 - 0
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]).