<div dir="ltr">From API-WG guideline, exceed quota should be 403<div><br></div><div><a href="https://github.com/openstack/api-wg/blob/master/guidelines/http.rst">https://github.com/openstack/api-wg/blob/master/guidelines/http.rst</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-05-06 3:30 GMT+08:00 Chen CH Ji <span dir="ltr"><<a href="mailto:jichenjc@cn.ibm.com" target="_blank">jichenjc@cn.ibm.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<p><font size="2" face="sans-serif">In doing patch [1], A suggestion is submitted that we should return 400 (bad Request) instead of 403 (Forbidden)</font><br>
<font size="2" face="sans-serif">I take a look at [</font><font size="2" face="sans-serif">2], seems 400 is not a good candidate because </font><br>
<font size="2" face="sans-serif"><i>'</i></font><font size="3" face="serif"><i>The request could not be understood by the server due to malformed syntax. The client SHOULD NOT repeat the request without modifications. </i></font><font size="2" face="sans-serif"><i>'</i></font><br>
<br>
<font size="2" face="sans-serif">may be a 409 (conflict) error if we really don't think 403 is a good one? </font><br>
<font size="2" face="sans-serif">Thanks</font><br>
<br>
<br>
<font size="2" face="sans-serif">[1] </font><a href="https://review.openstack.org/#/c/173985/" target="_blank"><font size="2" face="sans-serif">https://review.openstack.org/#/c/173985/</font></a><br>
<font size="2" face="sans-serif">[2] </font><a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html" target="_blank"><font size="2" face="sans-serif">http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html</font></a><br>
<br>
<font size="2" face="sans-serif">Best Regards! <br>
<br>
Kevin (Chen) Ji 纪 晨<br>
<br>
Engineer, zVM Development, CSTL<br>
Notes: Chen CH Ji/China/IBM@IBMCN   Internet: <a href="mailto:jichenjc@cn.ibm.com" target="_blank">jichenjc@cn.ibm.com</a><br>
Phone: <a href="tel:%2B86-10-82454158" value="+861082454158" target="_blank">+86-10-82454158</a><br>
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, Beijing 100193, PRC </font></p></div><br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>