yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #64958
[Bug 1567977] Re: POST /servers with incorrect content-type returns 400, should be 415
** Changed in: nova/liberty
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1567977
Title:
POST /servers with incorrect content-type returns 400, should be 415
Status in OpenStack Compute (nova):
Fix Released
Status in OpenStack Compute (nova) liberty series:
Fix Released
Status in OpenStack Compute (nova) mitaka series:
Fix Committed
Bug description:
(master nova april 8, 2016)
POSTing to /servers with a content-type of text/plain and a text/plain
body results in a response code of 400. This is incorrect. It should
be 415: <https://httpstatuses.com/415>
Here's the gabbi demo:
- name: post bad content-type
xfail: True
POST: /servers
request_headers:
content-type: text/plain
data: I want a server so badly
status: 415
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1567977/+subscriptions
References