Part of twisted.web2.filter View Source
Class | UnsatisfiableRangeRequest | Undocumented |
Function | canonicalizeRange | Return canonicalized (start, end) or raises UnsatisfiableRangeRequest exception. |
Function | makeUnsatisfiable | Undocumented |
Function | makeSegment | Undocumented |
Function | rangefilter | Undocumented |
Return canonicalized (start, end) or raises UnsatisfiableRangeRequest exception.
NOTE: end is the last byte *inclusive*, which is not the usual convention in python! Be very careful! A range of 0,1 should return 2 bytes.