mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-16 05:00:24 +00:00
Move cowboy_http:status() to cowboy:http_status()
This commit is contained in:
parent
f8a7856127
commit
df73a4d0a5
7 changed files with 19 additions and 20 deletions
|
@ -105,7 +105,7 @@ handler_init(Req, State, Handler, HandlerOpts) ->
|
|||
-> {ok, Req, Env}
|
||||
| {suspend, module(), atom(), any()}
|
||||
| {halt, Req}
|
||||
| {error, cowboy_http:status(), Req}
|
||||
| {error, cowboy:http_status(), Req}
|
||||
when Req::cowboy_req:req(), Env::cowboy_middleware:env().
|
||||
upgrade_protocol(Req, #state{env=Env},
|
||||
Handler, HandlerOpts, Module) ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue