mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-15 12:40:25 +00:00
Remove an useless todo
This commit is contained in:
parent
adc363919c
commit
bab62900dd
1 changed files with 0 additions and 1 deletions
|
@ -906,7 +906,6 @@ next(Req, State, Next) when is_function(Next) ->
|
||||||
next(Req, State, StatusCode) when is_integer(StatusCode) ->
|
next(Req, State, StatusCode) when is_integer(StatusCode) ->
|
||||||
respond(Req, State, StatusCode).
|
respond(Req, State, StatusCode).
|
||||||
|
|
||||||
%% @todo Allow some sort of callback for custom error pages.
|
|
||||||
respond(Req, State, StatusCode) ->
|
respond(Req, State, StatusCode) ->
|
||||||
{ok, Req2} = cowboy_http_req:reply(StatusCode, Req),
|
{ok, Req2} = cowboy_http_req:reply(StatusCode, Req),
|
||||||
terminate(Req2, State).
|
terminate(Req2, State).
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue