Comment 9 for bug 1567977

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/mitaka)

Reviewed: https://review.openstack.org/308474
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=d627ae852618fff9eebfc27fdf73287e45b1a7c7
Submitter: Jenkins
Branch: stable/mitaka

commit d627ae852618fff9eebfc27fdf73287e45b1a7c7
Author: Brandon Irizarry <email address hidden>
Date: Wed Apr 13 05:18:25 2016 +0000

    Changed an HTTP exception to return proper code

    POSTing to /servers with a content-type of text/plain
    and a text/plain body results in a response code of 400.
    It should be 415. I found this line in the code that
    appears to handle this singular case and modified
    the HTTP exception used to the correct one. Tests were
    also updated accordingly.

    Change-Id: I5fa1fdba56803b2ef63b1efaaeeced6ceb7779d9
    Closes-Bug: 1567977
    (cherry picked from commit a7019a87ba696509d825c6c6f2220331e4ffb033)