|
OpenQuizz
Une application de gestion des contenus pédagogiques
|


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 | |
*416* `Requested Range Not Satisfiable` The client asked for an invalid part of the file. .. versionadded:: 0.7
| def __init__ | ( | self, | |
length = None, |
|||
units = "bytes", |
|||
description = None |
|||
| ) |
Takes an optional `Content-Range` header value based on ``length`` parameter.
| def get_headers | ( | self, | |
environ = None |
|||
| ) |
Get a list of headers.
Reimplemented from HTTPException.
|
static |
|
static |
| length |
| units |