incorrect response for DELETE /v2/tasks/{task_id}
Bug #1287951 reported by
Nikhil Komawar
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Low
|
Nikhil Komawar |
Bug Description
A call to DELETE /v2/tasks/{task_id} for an existing task_id returns a 404 (which is obviously incorrect because a GET on the same URL returns a task detail response).
The response should be 405 (Method Not Allowed). From the spec:
"The method specified in the Request-Line is not allowed for the resource identified by the Request-URI. The response MUST include an Allow header containing a list of valid methods for the requested resource."
Note that an Allow header must be included in the response.
Changed in glance: | |
importance: | Undecided → Low |
Changed in glance: | |
milestone: | none → icehouse-rc1 |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | icehouse-rc1 → 2014.1 |
To post a comment you must log in.
WIP at https:/ /review. openstack. org/#/c/ 78050/