mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
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:
parent
01fe5fa8ea
commit
5d60e56a17
3 changed files with 1 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue