diff options
author | ianb <devnull@localhost> | 2007-09-04 17:17:58 +0000 |
---|---|---|
committer | ianb <devnull@localhost> | 2007-09-04 17:17:58 +0000 |
commit | a09a30a2f3059471e88061e6600fff6617ada94a (patch) | |
tree | d84b3f99ada8866cea264b9cf0042cae0238b280 /paste/httpheaders.py | |
parent | 17e5f105f13f6abb24cd042debc0c60f7ab7c2a3 (diff) | |
download | paste-a09a30a2f3059471e88061e6600fff6617ada94a.tar.gz |
be a little more careful splitting
Diffstat (limited to 'paste/httpheaders.py')
-rw-r--r-- | paste/httpheaders.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/httpheaders.py b/paste/httpheaders.py index 62cc4bd..80d2fc4 100644 --- a/paste/httpheaders.py +++ b/paste/httpheaders.py @@ -913,7 +913,7 @@ class _Range(_MultiValueHeader): ranges = [] last_end = -1 try: - (units, range) = value.split("=") + (units, range) = value.split("=", 1) units = units.strip().lower() for item in range.split(","): (begin, end) = item.split("-") |