Container POST should return a 201 instead of 202
Bug #1344365 reported by
Paul Glass
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Barbican |
Fix Released
|
Medium
|
Paul Glass |
Bug Description
On a POST request, containers are created immediately, in which case an HTTP 201 response code should be returned.
The HTTP 202 response code is for asynchronous requests that have been accepted but not yet completed.
See: https:/
Changed in barbican: | |
assignee: | nobody → Paul Glass (pnglass) |
Changed in barbican: | |
milestone: | none → juno-3 |
status: | Fix Committed → Fix Released |
Changed in barbican: | |
milestone: | juno-3 → 2014.2 |
Changed in barbican: | |
importance: | Undecided → Medium |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/111302 /git.openstack. org/cgit/ openstack/ barbican/ commit/ ?id=badf2ac2ad7 62a09639e60b9f8 5febc6e578155a
Committed: https:/
Submitter: Jenkins
Branch: master
commit badf2ac2ad762a0 9639e60b9f85feb c6e578155a
Author: Paul Glass <email address hidden>
Date: Fri Aug 1 09:39:36 2014 -0500
Correct container create response code to be 201
Closes-Bug: #1344365 50154c8be0b5ff6 183d0af09d9
Change-Id: I288a21fb2eb43a