Public bug reported: 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. ** Affects: glance Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1287951 Title: incorrect response for DELETE /v2/tasks/{task_id} Status in OpenStack Image Registry and Delivery Service (Glance): New 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. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1287951/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp