[openstack-dev] [nova] Which error code should we return when OverQuota

Chen CH Ji jichenjc at cn.ibm.com
Tue May 5 19:30:29 UTC 2015


In doing patch [1], A suggestion is submitted that we should return 400
(bad Request) instead of 403 (Forbidden)
I take a look at [2], seems 400 is not a good candidate because
'The request could not be understood by the server due to malformed syntax.
The client SHOULD NOT repeat the request without modifications. '

may be a 409 (conflict) error if we really don't think 403 is a good one?
Thanks


[1] https://review.openstack.org/#/c/173985/
[2] http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

Best Regards!

Kevin (Chen) Ji 纪 晨

Engineer, zVM Development, CSTL
Notes: Chen CH Ji/China/IBM at IBMCN   Internet: jichenjc at cn.ibm.com
Phone: +86-10-82454158
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District,
Beijing 100193, PRC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150505/05f729b2/attachment.html>


More information about the OpenStack-dev mailing list