class documentation

class HTTPError(HTTPResponse):

Known subclasses: bottle.TemplateError

View In Hierarchy

Undocumented

Method __init__ Undocumented
Class Variable default​_status Undocumented
Instance Variable exception Undocumented
Instance Variable traceback Undocumented

Inherited from HTTPResponse:

Method apply Undocumented

Inherited from BaseResponse (via HTTPResponse):

Method add​_header Add an additional response header, not removing duplicates.
Method copy Returns a copy of self.
Method delete​_cookie Delete a cookie. Be sure to use the same domain and path settings as used to create the cookie.
Method get​_header Return the value of a previously defined header. If there is no header with that name, return a default value.
Method iter​_headers Yield (header, value) tuples, skipping headers that are not allowed with the current response status code.
Method set​_cookie Create a new cookie or replace an old one. If the secret parameter is set, create a Signed Cookie (described below).
Method set​_header Create a new response header, replacing any previously defined headers with the same name.
Class Variable content​_length Undocumented
Class Variable content​_type Undocumented
Class Variable expires Undocumented
Instance Variable status Undocumented
Method __contains__ Undocumented
Method __delitem__ Undocumented
Method __getitem__ Undocumented
Method __iter__ Undocumented
Method __repr__ Undocumented
Method __setitem__ Undocumented
Method ​_get​_status Undocumented
Method ​_set​_status Undocumented
Method close Undocumented
Class Variable bad​_headers Undocumented
Class Variable default​_content​_type Undocumented
Instance Variable ​_cookies Undocumented
Instance Variable ​_headers Undocumented
Instance Variable ​_status​_code Undocumented
Instance Variable ​_status​_line Undocumented
Instance Variable body Undocumented
Property charset Return the charset specified in the content-type header (default: utf8).
Property headerlist WSGI conform list of (header, value) tuples.
Property headers An instance of HeaderDict, a case-insensitive dict-like view on the response headers.
Property status​_code The HTTP status code as an integer (e.g. 404).
Property status​_line The HTTP status line as a string (e.g. 404 Not Found).
def __init__(self, status=None, body=None, exception=None, traceback=None, **options):
overridden in bottle.TemplateError

Undocumented

default_status: int =

Undocumented

exception =

Undocumented

traceback =

Undocumented