diff options
author | Loïc Hoguin <[email protected]> | 2012-01-23 09:21:33 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2012-01-23 09:21:33 +0100 |
commit | 9f4016748782876c4ac006a438df52a6bf19203c (patch) | |
tree | 1153931dcd05bf58a575edbb36b206f7828d8f3c /src/cowboy_http_protocol.erl | |
parent | 3667ec9451b968683b57e95be025f80ab0a6bdfb (diff) | |
download | cowboy-9f4016748782876c4ac006a438df52a6bf19203c.tar.gz cowboy-9f4016748782876c4ac006a438df52a6bf19203c.tar.bz2 cowboy-9f4016748782876c4ac006a438df52a6bf19203c.zip |
Rename the type http_method/0 to cowboy_http:method/0
Exported types are much better than include files.
Diffstat (limited to 'src/cowboy_http_protocol.erl')
-rw-r--r-- | src/cowboy_http_protocol.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_http_protocol.erl b/src/cowboy_http_protocol.erl index cd951d1..1202dbe 100644 --- a/src/cowboy_http_protocol.erl +++ b/src/cowboy_http_protocol.erl @@ -108,7 +108,7 @@ wait_request(State=#state{socket=Socket, transport=Transport, {error, _Reason} -> terminate(State) end. --spec request({http_request, http_method(), http_uri(), +-spec request({http_request, cowboy_http:method(), http_uri(), http_version()}, #state{}) -> ok | none(). request({http_request, _Method, _URI, Version}, State) when Version =/= {1, 0}, Version =/= {1, 1} -> |