0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-16 05:00:24 +00:00

updated documentation on AcceptCallback and removed test case for deprecated return value

This commit is contained in:
Martin Björklund 2020-10-07 13:50:03 +02:00
parent fa5af5dce4
commit aabac3f2d7
3 changed files with 10 additions and 17 deletions

View file

@ -24,7 +24,5 @@ from_text(Req=#{qs := Qs}, State) ->
<<"created">> ->
{{created, NewURI}, Req, State};
<<"see_other">> ->
{{see_other, NewURI}, Req, State};
_ ->
{{true, NewURI}, Req, State}
{{see_other, NewURI}, Req, State}
end.