Home
last modified time | relevance | path

Searched refs:netloc (Results 1 – 18 of 18) sorted by relevance

/third_party/python/Lib/urllib/
Dparse.py191 netloc = self.netloc
192 userinfo, have_info, hostinfo = netloc.rpartition('@')
203 netloc = self.netloc
204 _, _, hostinfo = netloc.rpartition('@')
221 netloc = self.netloc
222 userinfo, have_info, hostinfo = netloc.rpartition(b'@')
233 netloc = self.netloc
234 _, _, hostinfo = netloc.rpartition(b'@')
278 _SplitResultBase.netloc.__doc__ = """
304 _ParseResultBase.netloc.__doc__ = _SplitResultBase.netloc.__doc__
[all …]
Drequest.py713 if not urlparts.path and urlparts.netloc:
/third_party/python/Lib/test/
Dtest_urlparse.py76 t = (result.scheme, result.netloc, result.path,
90 self.assertEqual(result3.netloc, result.netloc)
103 t = (result.scheme, result.netloc, result.path,
115 self.assertEqual(result3.netloc, result.netloc)
516 self.assertEqual(p.netloc, '[FE80::822a:a8ff:fe49:470c%tESt]:1234')
520 self.assertEqual(p.netloc, b'[FE80::822a:a8ff:fe49:470c%tESt]:1234')
526 self.assertEqual(p.netloc, "WWW.PYTHON.ORG")
542 self.assertEqual(p.netloc, "User:Pass@www.python.org:080")
559 self.assertEqual(p.netloc, "User@example.com:Pass@www.python.org:080")
573 self.assertEqual(p.netloc, b"WWW.PYTHON.ORG")
[all …]
Dtest_urllibnet.py31 domain = urllib.parse.urlparse(support.TEST_HTTP_URL).netloc
Dtest_urllib2_localnet.py266 (scm, netloc, path, params, query, fragment) = urllib.parse.urlparse(
/third_party/python/Doc/library/
Durllib.parse.rst44 ``scheme://netloc/path;parameters?query#fragment``.
55 >>> urlparse("scheme://netloc/path;parameters?query#fragment")
56 ParseResult(scheme='scheme', netloc='netloc', path='/path;parameters', params='',
61 ParseResult(scheme='http', netloc='docs.python.org:80',
66 >>> o.netloc
76 a netloc only if it is properly introduced by '//'. Otherwise the
85 ParseResult(scheme='', netloc='www.cwi.nl:80', path='/%7Eguido/Python.html',
88 ParseResult(scheme='', netloc='', path='www.cwi.nl/%7Eguido/Python.html',
91 ParseResult(scheme='', netloc='', path='help/Python.html', params='',
112 | :attr:`netloc` | 1 | Network location part | empty string |
[all …]
/third_party/googletest/googletest/scripts/
Dupload.py773 scheme, netloc, path, params, query, fragment = urlparse.urlparse(url)
774 username, netloc = urllib.splituser(netloc)
777 if netloc.endswith("svn.python.org"):
778 if netloc == "svn.python.org":
781 elif netloc != "pythondev@svn.python.org":
785 elif netloc.endswith("svn.collab.net"):
790 elif netloc.endswith(".googlecode.com"):
792 base = urlparse.urlunparse(("http", netloc, path, params,
797 base = urlparse.urlunparse((scheme, netloc, path, params,
/third_party/python/Lib/xml/dom/
Dxmlbuilder.py228 scheme, netloc, path, params, query, fragment = parts
232 parts = scheme, netloc, path, params, query, fragment
/third_party/python/Lib/http/
Dclient.py1151 netloc = ''
1153 nil, netloc, nil, nil, nil = urlsplit(url)
1155 if netloc:
1157 netloc_enc = netloc.encode("ascii")
1159 netloc_enc = netloc.encode("idna")
/third_party/python/Doc/tools/
Dsusp-ignored.csv308 whatsnew/2.7,,::,"ParseResult(scheme='http', netloc='[1080::8:800:200C:417A]',"
313 whatsnew/3.2,,:affe,"netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',"
315 whatsnew/3.2,,:beef,"netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',"
317 whatsnew/3.2,,:cafe,"netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',"
319 whatsnew/3.2,,:deaf,"netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',"
323 whatsnew/3.2,,:feed,"netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',"
/third_party/python/Lib/distutils/command/
Dupload.py78 schema, netloc, url, params, query, fragments = \
/third_party/nghttp2/script/
Dfetch-ocsp-response198 ocsp_host = urlparse(ocsp_uri).netloc
/third_party/mesa3d/.gitlab-ci/lava/
Dlava_job_submitter.py169 uri_str = "{}://{}:{}@{}{}".format(uri_obj.scheme, usr, tok, uri_obj.netloc, uri_obj.path)
/third_party/python/Lib/xmlrpc/
Dclient.py1433 self.__host = p.netloc
/third_party/nghttp2/python/
Dnghttp2.pyx1646 host = url.netloc if url.netloc else self.address[0]+':'+str(self.address[1])
/third_party/python/Doc/whatsnew/
D3.2.rst2224 netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',
2257 ParseResultBytes(scheme=b'http', netloc=b'www.python.org:80',
D2.7.rst1682 ParseResult(scheme='http', netloc='[1080::8:800:200C:417A]',
/third_party/python/Misc/
DHISTORY11249 authority (or netloc) and by '/' led path, which is optional.
20751 "netloc" portion of a URL.
27619 you get a path that starts with // (and an empty netloc). If you pass
27622 add the (empty) netloc with accompanying slashes if the path in
27623 urlunparse starts with //. Do this for all schemes that use a netloc.
27637 netloc from the base url as the default netloc for the resulting url
27646 schemes that accept a netloc, it turns out that this caused weirdness
27649 scheme supports a netloc but in practice never has one.
27653 the RFC says that file: uses the netloc syntax, and does not endorse
27999 * Lib/urlparse.py: Steve Clift pointed out that 'file' allows a netloc.