Comment 0 for bug 1532704

Revision history for this message
HouMing Wang (houming-wang) wrote :

HTTP 422 is valid Status Code Extensions to HTTP/1.1 for webdav[1]. And wsme/pecan consumer will produce this 422 status code, for example, Kubernetes API will returned 422 to Magnum in some failure conditions. We should make 422 a valid code, to prevent the original client error 422 turn into inappropriate server error 500.

[1] http://www.webdav.org/specs/rfc2518.html#status.code.extensions.to.http