diff options
| author | Bert JW Regeer <bertjw@regeer.org> | 2014-11-06 23:36:41 -0700 |
|---|---|---|
| committer | Bert JW Regeer <bertjw@regeer.org> | 2014-11-06 23:36:41 -0700 |
| commit | a3033c77c423ad2065c1d7ae65b9c61db8ce6f01 (patch) | |
| tree | 7644ecdc84cbce659dba68d7a8be5a0720750371 | |
| parent | b4245a312bfe7f99080d46c1f9814f2c5da2cbf1 (diff) | |
| download | pyramid-a3033c77c423ad2065c1d7ae65b9c61db8ce6f01.tar.gz pyramid-a3033c77c423ad2065c1d7ae65b9c61db8ce6f01.tar.bz2 pyramid-a3033c77c423ad2065c1d7ae65b9c61db8ce6f01.zip | |
Update documentation for exceptions
| -rw-r--r-- | pyramid/httpexceptions.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/pyramid/httpexceptions.py b/pyramid/httpexceptions.py index ebee39ada..415dfbe7f 100644 --- a/pyramid/httpexceptions.py +++ b/pyramid/httpexceptions.py @@ -868,7 +868,12 @@ class HTTPUnprocessableEntity(HTTPClientError): subclass of :class:`~HTTPClientError` This indicates that the server is unable to process the contained - instructions. Only for WebDAV. + instructions. + + May be used to notify the client that their JSON/XML is well formed, but + not correct for the current request. + + See RFC4918 section 11 for more information. code: 422, title: Unprocessable Entity """ @@ -881,7 +886,7 @@ class HTTPLocked(HTTPClientError): """ subclass of :class:`~HTTPClientError` - This indicates that the resource is locked. Only for WebDAV + This indicates that the resource is locked. code: 423, title: Locked """ @@ -896,7 +901,6 @@ class HTTPFailedDependency(HTTPClientError): This indicates that the method could not be performed because the requested action depended on another action and that action failed. - Only for WebDAV. code: 424, title: Failed Dependency """ |
