File: httpexceptions.rst

package info (click to toggle)
python-pyramid 1.6%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 9,112 kB
  • ctags: 8,169
  • sloc: python: 41,764; makefile: 111; sh: 17
file content (108 lines) | stat: -rw-r--r-- 2,332 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
.. _httpexceptions_module:

:mod:`pyramid.httpexceptions`
--------------------------------

.. automodule:: pyramid.httpexceptions

  .. attribute:: status_map

     A mapping of integer status code to HTTP exception class (eg. the integer
     "401" maps to :class:`pyramid.httpexceptions.HTTPUnauthorized`).  All
     mapped exception classes are children of :class:`pyramid.httpexceptions`,

  .. autofunction:: exception_response

  .. autoexception:: HTTPException

  .. autoexception:: HTTPOk

  .. autoexception:: HTTPRedirection

  .. autoexception:: HTTPError

  .. autoexception:: HTTPClientError

  .. autoexception:: HTTPServerError

  .. autoexception:: HTTPCreated

  .. autoexception:: HTTPAccepted

  .. autoexception:: HTTPNonAuthoritativeInformation

  .. autoexception:: HTTPNoContent

  .. autoexception:: HTTPResetContent

  .. autoexception:: HTTPPartialContent

  .. autoexception:: HTTPMultipleChoices

  .. autoexception:: HTTPMovedPermanently

  .. autoexception:: HTTPFound

  .. autoexception:: HTTPSeeOther

  .. autoexception:: HTTPNotModified

  .. autoexception:: HTTPUseProxy

  .. autoexception:: HTTPTemporaryRedirect

  .. autoexception:: HTTPBadRequest

  .. autoexception:: HTTPUnauthorized

  .. autoexception:: HTTPPaymentRequired

  .. autoexception:: HTTPForbidden

  .. autoexception:: HTTPNotFound

  .. autoexception:: HTTPMethodNotAllowed

  .. autoexception:: HTTPNotAcceptable

  .. autoexception:: HTTPProxyAuthenticationRequired

  .. autoexception:: HTTPRequestTimeout

  .. autoexception:: HTTPConflict

  .. autoexception:: HTTPGone

  .. autoexception:: HTTPLengthRequired

  .. autoexception:: HTTPPreconditionFailed

  .. autoexception:: HTTPRequestEntityTooLarge

  .. autoexception:: HTTPRequestURITooLong

  .. autoexception:: HTTPUnsupportedMediaType

  .. autoexception:: HTTPRequestRangeNotSatisfiable

  .. autoexception:: HTTPExpectationFailed

  .. autoexception:: HTTPUnprocessableEntity

  .. autoexception:: HTTPLocked

  .. autoexception:: HTTPFailedDependency

  .. autoexception:: HTTPInternalServerError

  .. autoexception:: HTTPNotImplemented

  .. autoexception:: HTTPBadGateway

  .. autoexception:: HTTPServiceUnavailable

  .. autoexception:: HTTPGatewayTimeout

  .. autoexception:: HTTPVersionNotSupported

  .. autoexception:: HTTPInsufficientStorage