d627ae8526
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
|
||
---|---|---|
.. | ||
openstack | ||
__init__.py | ||
test_auth.py | ||
test_compute_req_id.py | ||
test_validator.py | ||
test_wsgi.py |