Skip to content

Commit

Permalink
Merge pull request psf#2271 from mikecool1000/fix-2250
Browse files Browse the repository at this point in the history
Fixed psf#2250
  • Loading branch information
sigmavirus24 committed Oct 10, 2014
2 parents 46d6460 + 8339b60 commit 2ac771b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2ac771b

Please sign in to comment.