Handle 300 multiple choices response
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance Client |
Fix Released
|
High
|
Iccha Sethi |
Bug Description
If I make a request to the v1 API (glance image-list) but that version of the API is not available, I get the following (debug) response. The line at the bottom indicates a KeyError is being raised:
vagrant@
curl -i -X GET -H 'X-Auth-Token: 8a41945380af4da
HTTP/1.1 300 Multiple Choices
date: Wed, 05 Sep 2012 23:42:08 GMT
content-length: 126
content-type: application/json
{"versions": [{"status": "EXPERIMENTAL", "id": "v2.0", "links": [{"href": "http://
'images'
Changed in python-glanceclient: | |
assignee: | nobody → Iccha Sethi (iccha-sethi) |
Changed in python-glanceclient: | |
milestone: | none → v0.5.1 |
Changed in python-glanceclient: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/12607
Review: https:/