diff options
| author | Michael Merickel <michael@merickel.org> | 2011-08-25 02:34:57 -0500 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2011-08-25 02:34:57 -0500 |
| commit | 596860a10e8356e72aa695f77c3c8c4dbf269c52 (patch) | |
| tree | c7f02346085bd98a71acac2d46a1455bde9ebb8d | |
| parent | 0e9fe538b53ca62b8e9400f624e25ddd9bb7d07e (diff) | |
| download | pyramid-596860a10e8356e72aa695f77c3c8c4dbf269c52.tar.gz pyramid-596860a10e8356e72aa695f77c3c8c4dbf269c52.tar.bz2 pyramid-596860a10e8356e72aa695f77c3c8c4dbf269c52.zip | |
Added docs for some missing HTTP status' supported in httpexceptions.
| -rw-r--r-- | docs/api/httpexceptions.rst | 8 | ||||
| -rw-r--r-- | pyramid/httpexceptions.py | 4 |
2 files changed, 12 insertions, 0 deletions
diff --git a/docs/api/httpexceptions.rst b/docs/api/httpexceptions.rst index 89be17a2d..6a08d1048 100644 --- a/docs/api/httpexceptions.rst +++ b/docs/api/httpexceptions.rst @@ -87,6 +87,12 @@ .. autoclass:: HTTPExpectationFailed + .. autoclass:: HTTPUnprocessableEntity + + .. autoclass:: HTTPLocked + + .. autoclass:: HTTPFailedDependency + .. autoclass:: HTTPInternalServerError .. autoclass:: HTTPNotImplemented @@ -98,3 +104,5 @@ .. autoclass:: HTTPGatewayTimeout .. autoclass:: HTTPVersionNotSupported + + .. autoclass:: HTTPInsufficientStorage diff --git a/pyramid/httpexceptions.py b/pyramid/httpexceptions.py index fef4fe47e..dd3db3a9d 100644 --- a/pyramid/httpexceptions.py +++ b/pyramid/httpexceptions.py @@ -50,6 +50,9 @@ Exception * 415 - HTTPUnsupportedMediaType * 416 - HTTPRequestRangeNotSatisfiable * 417 - HTTPExpectationFailed + * 422 - HTTPUnprocessableEntity + * 423 - HTTPLocked + * 424 - HTTPFailedDependency HTTPServerError * 500 - HTTPInternalServerError * 501 - HTTPNotImplemented @@ -57,6 +60,7 @@ Exception * 503 - HTTPServiceUnavailable * 504 - HTTPGatewayTimeout * 505 - HTTPVersionNotSupported + * 507 - HTTPInsufficientStorage Each HTTP exception has the following attributes: |
