Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove unnecessary bit from previous branch.

This reverts commit e264582.
  • Loading branch information...
commit 0e65dff008f8d18fd6545d4b3e1656e048f3306d 1 parent fba77fc
@umbrae authored
Showing with 0 additions and 2 deletions.
  1. +0 −2  requests/models.py
View
2  requests/models.py
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.