Update server tag return plain text in response body instead of empty content
Bug #1602044 reported by
Ghanshyam Mann
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Ghanshyam Mann |
Bug Description
update server tag API (PUT /servers/
But in former case, API return response body with plain text-
'{"code": "201 Created", "message": "<br /><br />\\n\\n\\n", "title": "Created"}'
This is because it use webob.exc to generate 201. This kind of response body will break while parsing the data for content type. Also this is consistent with other nova API.
webob.Response is the right choice to generate 201 without content.
Changed in nova: | |
assignee: | nobody → Ghanshyam Mann (ghanshyammann) |
summary: |
Update server tag return plain text in response body instead of empty + content |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/340629
Review: https:/