forked from Pylons/webob
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow Range and Content-Range headers to contain any valid range unit
- Range units other than 'bytes' may be provided as part of a Range or Content-Range header - Updated __repr__() tests for Range and ContentRange to actually test the return value of the repr call (previous test was only asserting that __repr__() returned a 'truthy' value) - Updated Range repr to return a string representation enclosed in angle brackets, matching the style of most other WebOb classes (vs. a string that may be able to be passed to `eval`) - Fixes Pylons#177
- Loading branch information
Showing
2 changed files
with
37 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters