<div dir="ltr"><div><div><div><div><div>Hi,<br><br></div>There's been a few patches like this floating around recently which fix the incorrect use of 413 as the http error code when a request fails because of the requestor is out of quota.<br>
<br><a href="https://review.openstack.org/#/c/95671/">https://review.openstack.org/#/c/95671/</a><br><br></div>Now 413 is definitely wrong, but sometimes the change is made to 400 or 403. Having had a look around at different REST APIs (non openstack) out there, 403 does seem to be the most popular choice. <br>
<br></div>Its not totally clear from the rfc (<a href="http://www.ietf.org/rfc/rfc2616.txt">http://www.ietf.org/rfc/rfc2616.txt</a>) what it should be, but 403 to me does seem to the most appropriate, and whilst its not a big thing I think we should at least be consistent about this across all our openstack REST APIs.<br>
<br></div>Anyone have any objections to this?<br><br></div><div>Regards,<br></div><div><br></div>Chris<br></div>