diff options
| author | Chris McDonough <chrism@plope.com> | 2010-10-25 23:09:02 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2010-10-25 23:09:02 -0400 |
| commit | 2e6905e15221691e645e5ff4ba0378a6d9438c29 (patch) | |
| tree | da97f7555bc11dc7369ad12beb1c04c91c713049 /docs/api/httpexceptions.rst | |
| parent | 0d1f2ff01465689a472b10bbded2fa4e7a895569 (diff) | |
| download | pyramid-2e6905e15221691e645e5ff4ba0378a6d9438c29.tar.gz pyramid-2e6905e15221691e645e5ff4ba0378a6d9438c29.tar.bz2 pyramid-2e6905e15221691e645e5ff4ba0378a6d9438c29.zip | |
add httpexceptions docs
Diffstat (limited to 'docs/api/httpexceptions.rst')
| -rw-r--r-- | docs/api/httpexceptions.rst | 98 |
1 files changed, 98 insertions, 0 deletions
diff --git a/docs/api/httpexceptions.rst b/docs/api/httpexceptions.rst new file mode 100644 index 000000000..57ca8092c --- /dev/null +++ b/docs/api/httpexceptions.rst @@ -0,0 +1,98 @@ +.. _httpexceptions_module: + +:mod:`pyramid.httpexceptions` +-------------------------------- + +.. automodule:: pyramid.httpexceptions + + .. attribute:: status_map + + A mapping of integer status code to exception class (eg. the + integer "401" maps to + :class:`pyramid.httpexceptions.HTTPUnauthorized`). + + .. autoclass:: HTTPException + + .. autoclass:: HTTPOk + + .. autoclass:: HTTPRedirection + + .. autoclass:: HTTPError + + .. autoclass:: HTTPClientError + + .. autoclass:: HTTPServerError + + .. autoclass:: HTTPCreated + + .. autoclass:: HTTPAccepted + + .. autoclass:: HTTPNonAuthoritativeInformation + + .. autoclass:: HTTPNoContent + + .. autoclass:: HTTPResetContent + + .. autoclass:: HTTPPartialContent + + .. autoclass:: HTTPMultipleChoices + + .. autoclass:: HTTPMovedPermanently + + .. autoclass:: HTTPFound + + .. autoclass:: HTTPSeeOther + + .. autoclass:: HTTPNotModified + + .. autoclass:: HTTPUseProxy + + .. autoclass:: HTTPTemporaryRedirect + + .. autoclass:: HTTPBadRequest + + .. autoclass:: HTTPUnauthorized + + .. autoclass:: HTTPPaymentRequired + + .. autoclass:: HTTPForbidden + + .. autoclass:: HTTPNotFound + + .. autoclass:: HTTPMethodNotAllowed + + .. autoclass:: HTTPNotAcceptable + + .. autoclass:: HTTPProxyAuthenticationRequired + + .. autoclass:: HTTPRequestTimeout + + .. autoclass:: HTTPConflict + + .. autoclass:: HTTPGone + + .. autoclass:: HTTPLengthRequired + + .. autoclass:: HTTPPreconditionFailed + + .. autoclass:: HTTPRequestEntityTooLarge + + .. autoclass:: HTTPRequestURITooLong + + .. autoclass:: HTTPUnsupportedMediaType + + .. autoclass:: HTTPRequestRangeNotSatisfiable + + .. autoclass:: HTTPExpectationFailed + + .. autoclass:: HTTPInternalServerError + + .. autoclass:: HTTPNotImplemented + + .. autoclass:: HTTPBadGateway + + .. autoclass:: HTTPServiceUnavailable + + .. autoclass:: HTTPGatewayTimeout + + .. autoclass:: HTTPVersionNotSupported |
