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:
parent
fa5af5dce4
commit
aabac3f2d7
3 changed files with 10 additions and 17 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue