Skip to content

Commit

Permalink
Fix #499: Don't trim redirect URL in client API
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Sep 22, 2015
1 parent e286d4f commit fc090b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 2 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,5 @@ CHANGES

- Fix a bug for server-side cookies for dropping cookie and setting it
again without Max-Age parameter.

- Don't trim redirect URL in client API #499
5 changes: 0 additions & 5 deletions aiohttp/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,11 +185,6 @@ def request(self, method, url, *,
elif not scheme:
r_url = urllib.parse.urljoin(url, r_url)

url = urllib.parse.urldefrag(r_url)[0]
if url:
yield from resp.release()
continue

break

return resp
Expand Down

0 comments on commit fc090b1

Please sign in to comment.