Merge "Fix swob.Range docstring"
This commit is contained in:
@@ -480,8 +480,8 @@ class Range(object):
|
|||||||
After initialization, "range.ranges" is populated with a list
|
After initialization, "range.ranges" is populated with a list
|
||||||
of (start, end) tuples denoting the requested ranges.
|
of (start, end) tuples denoting the requested ranges.
|
||||||
|
|
||||||
If there were any syntactically-invalid byte-range-spec values,
|
If there were any syntactically-invalid byte-range-spec values, the
|
||||||
"range.ranges" will be an empty list, per the relevant RFC:
|
constructor will raise a ValueError, per the relevant RFC:
|
||||||
|
|
||||||
"The recipient of a byte-range-set that includes one or more syntactically
|
"The recipient of a byte-range-set that includes one or more syntactically
|
||||||
invalid byte-range-spec values MUST ignore the header field that includes
|
invalid byte-range-spec values MUST ignore the header field that includes
|
||||||
|
|||||||
Reference in New Issue
Block a user