revert the changes done in d931a3b64fd6 - buildbot failure.

The fix for issue14826 might need to address toBytes and test_url_encoding in
test_cookielib.py before it is brought back in.
This commit is contained in:
Senthil Kumaran 2012-07-08 02:20:27 -07:00
parent 01fe5fa8ea
commit 5d60e56a17
3 changed files with 1 additions and 13 deletions

View file

@ -196,8 +196,7 @@ class Request:
def __init__(self, url, data=None, headers={},
origin_req_host=None, unverifiable=False):
# unwrap('<URL:type://host/path>') --> 'type://host/path'
self.__original = unwrap(toBytes(url))
self.__original = quote(self.__original, safe="%/:=&?~#+!$,;'@()*[]|")
self.__original = unwrap(url)
self.__original, self.__fragment = splittag(self.__original)
self.type = None
# self.__r_type is what's left after doing the splittype