mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-15 20:50:24 +00:00
Move cowboy_http:version() to cowboy:http_version()
This commit is contained in:
parent
ba7e6c07ec
commit
c0c333e41b
4 changed files with 7 additions and 6 deletions
|
@ -52,11 +52,9 @@
|
|||
-export([urlencode/2]).
|
||||
-export([x_www_form_urlencoded/1]).
|
||||
|
||||
-type version() :: 'HTTP/1.1' | 'HTTP/1.0'.
|
||||
-type headers() :: [{binary(), iodata()}].
|
||||
-type status() :: non_neg_integer() | binary().
|
||||
|
||||
-export_type([version/0]).
|
||||
-export_type([headers/0]).
|
||||
-export_type([status/0]).
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue