diff options
| author | Tres Seaver <tseaver@palladion.com> | 2014-11-07 11:00:57 -0500 |
|---|---|---|
| committer | Tres Seaver <tseaver@palladion.com> | 2014-11-07 11:00:57 -0500 |
| commit | 70eb3fed508ff508d544fd23a15d65418a37152f (patch) | |
| tree | 0f25af894838631f537cc92fafc305aa5117066b | |
| parent | ba0593aa9488a32193113048f14189b76d374102 (diff) | |
| parent | a3033c77c423ad2065c1d7ae65b9c61db8ce6f01 (diff) | |
| download | pyramid-70eb3fed508ff508d544fd23a15d65418a37152f.tar.gz pyramid-70eb3fed508ff508d544fd23a15d65418a37152f.tar.bz2 pyramid-70eb3fed508ff508d544fd23a15d65418a37152f.zip | |
Merge pull request #1437 from bertjwregeer/update.exceptions
Update documentation for HTTP exceptions (Remove WebDAV only)
| -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 """ |
