From: mikecool1000 Date: Thu, 9 Oct 2014 02:26:07 +0000 (-0700) Subject: Update utils.py X-Git-Tag: v2.5.0~21^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4594667f07cac83ea95a19747dea1588aa2cb59e;p=services%2Fpython-requests.git Update utils.py Fixed -2250 --- diff --git a/requests/utils.py b/requests/utils.py index 1868f86..058b608 100644 --- a/requests/utils.py +++ b/requests/utils.py @@ -567,7 +567,7 @@ def parse_header_links(value): replace_chars = " '\"" - for val in value.split(","): + for val in re.split(",\ *<",value): try: url, params = val.split(";", 1) except ValueError: