class documentation

class RequestedRangeNotSatisfiable(HTTPException):

View In Hierarchy

416 Requested Range Not Satisfiable

The client asked for an invalid part of the file.

New in version 0.7.
Method __init__ Takes an optional Content-Range header value based on length parameter.
Method get​_headers Get a list of headers.
Class Variable code Undocumented
Class Variable description Undocumented
Instance Variable length Undocumented
Instance Variable units Undocumented

Inherited from HTTPException:

Class Method wrap Create an exception that is a subclass of the calling HTTP exception and the exception argument.
Method __call__ Call the exception as WSGI application.
Method __repr__ Undocumented
Method __str__ Undocumented
Method get​_body Get the HTML body.
Method get​_description Get the description.
Method get​_response Get a response object. If one was passed to the exception it's returned directly.
Instance Variable response Undocumented
Property name The status name.
def __init__(self, length=None, units='bytes', description=None, response=None):
Takes an optional Content-Range header value based on length parameter.
Parameters
length:t.Optional[int]Undocumented
units:strUndocumented
description:t.Optional[str]Undocumented
response:t.Optional[Response]Undocumented
def get_headers(self, environ=None, scope=None):
Get a list of headers.
Parameters
environ:t.Optional[WSGIEnvironment]Undocumented
scope:t.Optional[dict]Undocumented
Returns
t.List[t.Tuple[str, str]]Undocumented
code: int =
description: str =
length =

Undocumented

units =

Undocumented