Add 415 to list of exceptions for microversions devref
There was some confusion/debate in reviewing
I5fa1fdba56803b2ef63b1efaaeeced6ceb7779d9 and whether or
not it required a microversion to change the response code.
This was a pretty common sense scenario where 415 was a
more appropriate error code for 400 and is a better client
experience when hitting that error.
This change updates the potentially confusing part of the
devref about this and adds a note to ask the Nova API
subteam when in doubt about whether or not a microversion
is needed for changing error codes.
Reviewed: https:/ /review. openstack. org/308519 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=e7811038417 a34f59e7cbf6652 c28914c4686ae9
Committed: https:/
Submitter: Jenkins
Branch: master
commit e7811038417a34f 59e7cbf6652c289 14c4686ae9
Author: Matt Riedemann <email address hidden>
Date: Wed Apr 20 14:15:49 2016 -0400
Add 415 to list of exceptions for microversions devref
There was some confusion/debate in reviewing 803b2ef63b1efaa eeced6ceb7779d9 and whether or
I5fa1fdba56
not it required a microversion to change the response code.
This was a pretty common sense scenario where 415 was a
more appropriate error code for 400 and is a better client
experience when hitting that error.
This change updates the potentially confusing part of the
devref about this and adds a note to ask the Nova API
subteam when in doubt about whether or not a microversion
is needed for changing error codes.
Change-Id: I8a2836076b7fad c697bdc013578c3 d777d02a833
Related-Bug: #1567977