Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

return 201 not 303 #1072

Merged
merged 3 commits into from Dec 7, 2020
Merged

return 201 not 303 #1072

merged 3 commits into from Dec 7, 2020

Conversation

karenetheridge
Copy link
Contributor

return 201 or 204 instead of 303 for most POST requests

(the URL of the created/updated resource is still in the Location header)

- was documenting the wrong thing
- 201 *can* have content, and some of our responses do
@karenetheridge karenetheridge added api breaking needs-shell needs accompanying changes in conch-shell needs-ui needs accompanying changes in conch-ui labels Dec 3, 2020
@karenetheridge karenetheridge added this to the v3.1.1 milestone Dec 3, 2020
@karenetheridge karenetheridge added this to To Do in Conch API Issues via automation Dec 3, 2020
perigrin
perigrin previously approved these changes Dec 3, 2020
(the URL of the created/updated resource is still in the Location header)
@karenetheridge karenetheridge merged commit ede58be into master Dec 7, 2020
Conch API Issues automation moved this from Reviewing to Done Dec 7, 2020
@karenetheridge karenetheridge deleted the ether/return-201-not-303 branch December 7, 2020 23:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api breaking needs-shell needs accompanying changes in conch-shell needs-ui needs accompanying changes in conch-ui
Projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants