Searched refs:splithost (Results 1 – 14 of 14) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_urllib.py | 874 splithost = urllib.splithost 875 self.assertEqual(splithost('//www.example.org:80/foo/bar/baz.html'), 877 self.assertEqual(splithost('//www.example.org:80'), 879 self.assertEqual(splithost('/foo/bar/baz.html'), 883 self.assertEqual(splithost('//127.0.0.1#@host.com'), 885 self.assertEqual(splithost('//127.0.0.1#@host.com:80'), 887 self.assertEqual(splithost('//127.0.0.1:80#@host.com'), 891 self.assertEqual(splithost("///file"), 895 self.assertEqual(splithost("//example.net/file;"), 897 self.assertEqual(splithost("//example.net/file?"), [all …]
|
/external/python/cpython2/Lib/ |
D | urllib.py | 199 host, selector = splithost(proxyhost) 242 return url2pathname(splithost(url1)[1]), hdrs 253 garbage, path = splithost(path or "") 301 host, selector = splithost(url) 317 realhost, rest = splithost(rest) 396 host, selector = splithost(url) 411 realhost, rest = splithost(rest) 478 host, file = splithost(url) 517 host, path = splithost(url) 731 host, selector = splithost(url) [all …]
|
D | urllib2.py | 120 from urllib import (unwrap, unquote, splittype, splithost, quote, 288 self.host, self.__r_host = splithost(self.__r_type) 1141 sel_host, sel_path = splithost(sel)
|
D | xmlrpclib.py | 1574 self.__host, self.__handler = urllib.splithost(uri)
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.6.2rc2.rst | 36 Fix urllib.parse.splithost() to correctly parse fragments. For example, 37 ``splithost('//127.0.0.1#@evil.com/')`` now correctly returns the
|
D | 3.5.4rc1.rst | 36 Fix urllib.parse.splithost() to correctly parse fragments. For example, 37 ``splithost('//127.0.0.1#@evil.com/')`` now correctly returns the
|
D | 3.7.0a1.rst | 65 Fix urllib.parse.splithost() to correctly parse fragments. For example, 66 ``splithost('//127.0.0.1#@evil.com/')`` now correctly returns the
|
/external/python/cpython3/Lib/test/ |
D | test_urlparse.py | 1024 splithost = urllib.parse.splithost 1025 self.assertEqual(splithost('//www.example.org:80/foo/bar/baz.html'), 1027 self.assertEqual(splithost('//www.example.org:80'), 1029 self.assertEqual(splithost('/foo/bar/baz.html'), 1033 self.assertEqual(splithost('//127.0.0.1#@host.com'), 1035 self.assertEqual(splithost('//127.0.0.1#@host.com:80'), 1037 self.assertEqual(splithost('//127.0.0.1:80#@host.com'), 1041 self.assertEqual(splithost("///file"), 1045 self.assertEqual(splithost("//example.net/file;"), 1047 self.assertEqual(splithost("//example.net/file?"), [all …]
|
/external/python/cpython3/Lib/urllib/ |
D | request.py | 105 splittype, splithost, splitport, splituser, splitpasswd, 384 self.host, self.selector = splithost(rest) 1265 sel_host, sel_path = splithost(sel) 1742 host, selector = splithost(proxyhost) 1787 return url2pathname(splithost(url1)[1]), hdrs 1797 garbage, path = splithost(path or "") 1856 host, selector = splithost(url) 1872 realhost, rest = splithost(rest) 1980 host, file = splithost(url) 2013 host, path = splithost(url) [all …]
|
D | parse.py | 980 def splithost(url): function
|
/external/python/cpython2/Tools/webchecker/ |
D | websucker.py | 91 host, path = urllib.splithost(rest)
|
/external/python/cpython3/Lib/xmlrpc/ |
D | client.py | 1419 self.__host, self.__handler = urllib.parse.splithost(uri)
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7.15rc1.rst | 72 Fix urllib.splithost() to correctly parse fragments. For example, 73 ``splithost('//127.0.0.1#@evil.com/')`` now correctly returns the
|
/external/python/cpython2/Doc/library/ |
D | urllib.rst | 314 urllib also exposes certain utility functions like splittype, splithost and
|