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


Public Member Functions | |
| def | __init__ (self, units, start, stop, length=None, on_update=None) |
| def | set (self, start, stop, length=None, units="bytes") |
| def | unset (self) |
| def | to_header (self) |
| def | __nonzero__ (self) |
| def | __str__ (self) |
| def | __repr__ (self) |
Data Fields | |
| on_update | |
Static Public Attributes | |
| units | |
| start | |
| stop | |
| length | |
Represents the content range header. .. versionadded:: 0.7
| def __init__ | ( | self, | |
| units, | |||
| start, | |||
| stop, | |||
length = None, |
|||
on_update = None |
|||
| ) |
| def __nonzero__ | ( | self | ) |
| def __repr__ | ( | self | ) |
| def __str__ | ( | self | ) |
| def set | ( | self, | |
| start, | |||
| stop, | |||
length = None, |
|||
units = "bytes" |
|||
| ) |
Simple method to update the ranges.
| def to_header | ( | self | ) |
| def unset | ( | self | ) |
Sets the units to `None` which indicates that the header should no longer be used.
|
static |
| on_update |
|
static |
|
static |
|
static |