contenty_type is missing for some exceptions

Bug #1184279 reported by Flavio Percoco
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Low
sai krishna

Bug Description

In some HTTPExceptions[0] the content_type kwarg is missing and should be set to text/plain as in the other cases.

[0] https://github.com/openstack/glance/blob/master/glance/api/v1/upload_utils.py#L121

Changed in glance:
importance: Undecided → Low
Changed in glance:
assignee: nobody → sai krishna (krishna1256)
status: New → In Progress
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/31223

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Revision history for this message
sai krishna (krishna1256) wrote :

Hi All,

Please Ignore the below review request.
https://review.openstack.org/31223

A new request is created with request number: 31430.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/31430
Committed: http://github.com/openstack/glance/commit/98dcfb4b90791e656a9558d768694a27bc90e3b5
Submitter: Jenkins
Branch: master

commit 98dcfb4b90791e656a9558d768694a27bc90e3b5
Author: sai krishna sripada <email address hidden>
Date: Sun Jun 2 18:13:42 2013 +0530

    updated content_type in the exception where it is missing.

    Fixes bug 1184279

    Added missing content_type in HTTPConflict, while attempting to upload a duplicate image.

    Change-Id: I4dbef69b6f9e83d4b5090cc0bbfcb01611c05a37

Changed in glance:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in glance:
milestone: none → havana-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in glance:
milestone: havana-2 → 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.