Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Remove unnecessary bit from previous branch.

This reverts commit e264582.
  • Loading branch information...
commit 0e65dff008f8d18fd6545d4b3e1656e048f3306d 1 parent fba77fc
Chris Dary authored

Showing 1 changed file with 0 additions and 2 deletions. Show diff stats Hide diff stats

  1. +0 2  requests/models.py
2  requests/models.py
@@ -227,8 +227,6 @@ def build(resp):
227 227 # Facilitate non-RFC2616-compliant 'location' headers
228 228 # (e.g. '/path/to/resource' instead of 'http://domain.tld/path/to/resource')
229 229 if not urlparse(url).netloc:
230   - if not isinstance(url, unicode):
231   - url = url.decode('utf-8', 'ignore')
232 230 url = urljoin(r.url, url)
233 231
234 232 # http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3.4

0 comments on commit 0e65dff

Please sign in to comment.
Something went wrong with that request. Please try again.