diff options
author | Loïc Hoguin <[email protected]> | 2012-07-22 05:21:05 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2012-07-22 05:21:05 +0200 |
commit | bab62900dd2030e15d4b8150c1214ac76aca2f25 (patch) | |
tree | a6a680f09ad67969a9d36a6f0eaa334d03b8d005 /src | |
parent | adc363919c7b21ceb43625af37c933b002e1c7e8 (diff) | |
download | cowboy-bab62900dd2030e15d4b8150c1214ac76aca2f25.tar.gz cowboy-bab62900dd2030e15d4b8150c1214ac76aca2f25.tar.bz2 cowboy-bab62900dd2030e15d4b8150c1214ac76aca2f25.zip |
Remove an useless todo
Diffstat (limited to 'src')
-rw-r--r-- | src/cowboy_http_rest.erl | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cowboy_http_rest.erl b/src/cowboy_http_rest.erl index 463f76b..b37f20e 100644 --- a/src/cowboy_http_rest.erl +++ b/src/cowboy_http_rest.erl @@ -906,7 +906,6 @@ next(Req, State, Next) when is_function(Next) -> next(Req, State, StatusCode) when is_integer(StatusCode) -> respond(Req, State, StatusCode). -%% @todo Allow some sort of callback for custom error pages. respond(Req, State, StatusCode) -> {ok, Req2} = cowboy_http_req:reply(StatusCode, Req), terminate(Req2, State). |