diff options
author | Loïc Hoguin <[email protected]> | 2012-01-23 09:36:59 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2012-01-23 09:36:59 +0100 |
commit | a297d5e42b76e4d1281a1d33b54c279d8b585772 (patch) | |
tree | 23873066f4fbe5f30c9aba98319c9797aafb5007 /src/cowboy_http_protocol.erl | |
parent | 8622dff906a1bdddf588e1fe006307488a824d3a (diff) | |
download | cowboy-a297d5e42b76e4d1281a1d33b54c279d8b585772.tar.gz cowboy-a297d5e42b76e4d1281a1d33b54c279d8b585772.tar.bz2 cowboy-a297d5e42b76e4d1281a1d33b54c279d8b585772.zip |
Rename the type http_header/0 to cowboy_http:header/0
At the same time rename http_headers/0 to cowboy_http:headers/0.
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 48268a1..fd987f2 100644 --- a/src/cowboy_http_protocol.erl +++ b/src/cowboy_http_protocol.erl @@ -158,7 +158,7 @@ wait_header(Req, State=#state{socket=Socket, {error, closed} -> terminate(State) end. --spec header({http_header, integer(), http_header(), any(), binary()} +-spec header({http_header, integer(), cowboy_http:header(), any(), binary()} | http_eoh, #http_req{}, #state{}) -> ok | none(). header({http_header, _I, 'Host', _R, RawHost}, Req=#http_req{ transport=Transport, host=undefined}, State) -> |