Public bug reported: (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 ** Affects: nova Importance: Undecided Status: New ** Tags: api -- 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): New 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 -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

