mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-16 05:00:24 +00:00
Rename the type http_header/0 to cowboy_http:header/0
At the same time rename http_headers/0 to cowboy_http:headers/0.
This commit is contained in:
parent
8622dff906
commit
a297d5e42b
4 changed files with 37 additions and 34 deletions
|
@ -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) ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue