Permalink
Browse files

Remove unnecessary bit from previous branch.

This reverts commit e264582.
  • Loading branch information...
1 parent fba77fc commit 0e65dff008f8d18fd6545d4b3e1656e048f3306d @umbrae committed Mar 8, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −2 requests/models.py
View
@@ -227,8 +227,6 @@ def build(resp):
# Facilitate non-RFC2616-compliant 'location' headers
# (e.g. '/path/to/resource' instead of 'http://domain.tld/path/to/resource')
if not urlparse(url).netloc:
- if not isinstance(url, unicode):
- url = url.decode('utf-8', 'ignore')
url = urljoin(r.url, url)
# http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3.4

0 comments on commit 0e65dff

Please sign in to comment.