47.1. HTTP EXCEPTIONS
class HTTPBadGateway(detail=None, headers=None, comment=None, body_template=None,
**kw) subclass of HTTPServerError
This indicates that the server, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfill the request.
code: 502, title: Bad Gateway
class HTTPServiceUnavailable(detail=None, headers=None, comment=None,
body_template=None, **kw) subclass of HTTPServerError
This indicates that the server is currently unable to handle the request due to a temporary overloading or maintenance of the server.
code: 503, title: Service Unavailable
class HTTPGatewayTimeout(detail=None, headers=None, comment=None,
body_template=None, **kw) subclass of HTTPServerError
This indicates that the server, while acting as a gateway or proxy, did not receive a timely response from the upstream server specified by the URI (e.g. HTTP, FTP, LDAP) or some other auxiliary server (e.g. DNS) it needed to access in attempting to complete the request.
code: 504, title: Gateway Timeout
class HTTPVersionNotSupported(detail=None, headers=None, comment=None,
body_template=None, **kw)
subclass of HTTPServerError
This indicates that the server does not support, or refuses to support, the HTTP protocol version that was used in the request message.
code: 505, title: HTTP Version Not Supported
class HTTPInsufficientStorage(detail=None, headers=None, comment=None,
body_template=None, **kw)
subclass of HTTPServerError
This indicates that the server does not have enough space to save the resource.
code: 507, title: Insufficient Storage