OpenQuizz
Une application de gestion des contenus pédagogiques
RequestedRangeNotSatisfiable Class Reference
Inheritance diagram for RequestedRangeNotSatisfiable:
Collaboration diagram for RequestedRangeNotSatisfiable:

Public Member Functions

def __init__ (self, length=None, units="bytes", description=None)
 
def get_headers (self, environ=None)
 
- Public Member Functions inherited from HTTPException
def __init__ (self, description=None, response=None)
 
def wrap (cls, exception, name=None)
 
def name (self)
 
def get_description (self, environ=None)
 
def get_body (self, environ=None)
 
def get_response (self, environ=None)
 
def __call__ (self, environ, start_response)
 
def __str__ (self)
 
def __repr__ (self)
 

Data Fields

 length
 
 units
 
- Data Fields inherited from HTTPException
 response
 

Static Public Attributes

 code
 
 description
 
- Static Public Attributes inherited from HTTPException
 code
 
 description
 

Detailed Description

*416* `Requested Range Not Satisfiable`

The client asked for an invalid part of the file.

.. versionadded:: 0.7

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  length = None,
  units = "bytes",
  description = None 
)
Takes an optional `Content-Range` header value based on ``length``
parameter.

Member Function Documentation

◆ get_headers()

def get_headers (   self,
  environ = None 
)
Get a list of headers.

Reimplemented from HTTPException.

Field Documentation

◆ code

code
static

◆ description

description
static

◆ length

length

◆ units

units

The documentation for this class was generated from the following file: