Michael Merickel
2011-08-25 596860a10e8356e72aa695f77c3c8c4dbf269c52
Added docs for some missing HTTP status' supported in httpexceptions.
2 files modified
12 ■■■■■ changed files
docs/api/httpexceptions.rst 8 ●●●●● patch | view | raw | blame | history
pyramid/httpexceptions.py 4 ●●●● patch | view | raw | blame | history
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
pyramid/httpexceptions.py
@@ -50,6 +50,9 @@
        * 415 - HTTPUnsupportedMediaType
        * 416 - HTTPRequestRangeNotSatisfiable
        * 417 - HTTPExpectationFailed
        * 422 - HTTPUnprocessableEntity
        * 423 - HTTPLocked
        * 424 - HTTPFailedDependency
      HTTPServerError
        * 500 - HTTPInternalServerError
        * 501 - HTTPNotImplemented
@@ -57,6 +60,7 @@
        * 503 - HTTPServiceUnavailable
        * 504 - HTTPGatewayTimeout
        * 505 - HTTPVersionNotSupported
        * 507 - HTTPInsufficientStorage
Each HTTP exception has the following attributes: