projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fba77fc
)
Remove unnecessary bit from previous branch.
author
Chris Dary
<umbrae@gmail.com>
Thu, 8 Mar 2012 21:22:38 +0000
(13:22 -0800)
committer
Chris Dary
<umbrae@gmail.com>
Thu, 8 Mar 2012 21:22:38 +0000
(13:22 -0800)
This reverts commit
e2645826be0449842dcc812e31541c5254c69e05
.
requests/models.py
patch
|
blob
|
history
diff --git
a/requests/models.py
b/requests/models.py
index
73176e7
..
23c04b1
100644
(file)
--- a/
requests/models.py
+++ b/
requests/models.py
@@
-227,8
+227,6
@@
class Request(object):
# 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