incorrect response code from v2 delete image member call

Bug #1229366 reported by Brian Rosmaita
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Medium
Brian Rosmaita

Bug Description

Currently on success, DELETE /v2/image/{imageId}/members/{memberId} returns 200 with no response body.

According to the Glance API contract, a 200 means you should expect a response body. Success with no response body should be 204.

Changed in glance:
assignee: nobody → Brian Rosmaita (brian-rosmaita)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (master)

Fix proposed to branch: master
Review: https://review.openstack.org/48235

Changed in glance:
status: New → In Progress
Changed in glance:
importance: Undecided → Medium
milestone: none → havana-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/48235
Committed: http://github.com/openstack/glance/commit/4a83dbb9e6ef9cc69176d8d96de6993ee4b45f77
Submitter: Jenkins
Branch: master

commit 4a83dbb9e6ef9cc69176d8d96de6993ee4b45f77
Author: Brian Rosmaita <email address hidden>
Date: Wed Sep 25 12:34:00 2013 +0000

    Change response code for successful delete image member to 204.

    The delete image member call currently returns 200 with no response
    body. According to the API contract, 200 means to expect a body.
    This patch changes the response code to 204.

    Change-Id: Id48187b3c47e39075a352d3027dd3d3451d46905
    Closes-Bug: #1229366

Changed in glance:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in glance:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in glance:
milestone: havana-rc1 → 2013.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.