Home
last modified time | relevance | path

Searched refs:urlparse (Results 1 – 25 of 39) sorted by relevance

12

/third_party/node/deps/npm/node_modules/npm-package-arg/
Dnpa.js223 const urlparse = url.parse(res.rawSpec)
226 switch (urlparse.protocol) {
235 const match = urlparse.protocol === 'git+ssh:' && matchGitScp(res.rawSpec)
240 setGitCommittish(res, urlparse.hash != null ? urlparse.hash.slice(1) : '')
241 urlparse.protocol = urlparse.protocol.replace(/^git[+]/, '')
242 if (urlparse.protocol === 'file:' && /^git\+file:\/\/[a-z]:/i.test(res.rawSpec)) {
244 urlparse.host += ':'
245 urlparse.hostname += ':'
247 delete urlparse.hash
248 res.fetchSpec = url.format(urlparse)
[all …]
/third_party/python/Lib/test/
Dtest_urlparse.py74 result = urllib.parse.urlparse(url)
86 result3 = urllib.parse.urlparse(result.geturl())
228 self.assertEqual(urllib.parse.urlunparse(urllib.parse.urlparse(u)), u)
280 self.assertEqual(urllib.parse.urlparse('mailto:1337@example.org'),
477 urlparsed = urllib.parse.urlparse(url)
488 self.assertRaises(ValueError, urllib.parse.urlparse, invalid_url)
655 for parse in (urllib.parse.urlsplit, urllib.parse.urlparse):
683 p = urllib.parse.urlparse(uri)
701 p = urllib.parse.urlparse(uri)
711 self.assertEqual(urllib.parse.urlparse("http://example.com?blahblah=/foo"),
[all …]
Dtest_urllibnet.py31 domain = urllib.parse.urlparse(support.TEST_HTTP_URL).netloc
Dssl_servers.py64 path = urllib.parse.urlparse(path)[2]
/third_party/nghttp2/script/
Dfetch-ocsp-response64 from urllib.parse import urlparse
67 from urlparse import urlparse
198 ocsp_host = urlparse(ocsp_uri).netloc
/third_party/gn/infra/
Drecipes.py39 import urllib.parse as urlparse namespace
41 import urlparse
180 engine_path = urlparse.urlparse(url).path
/third_party/skia/infra/bots/
Drecipes.py39 import urllib.parse as urlparse namespace
41 import urlparse
180 engine_path = urlparse.urlparse(url).path
/third_party/mesa3d/docs/_exts/
Dredirects.py3 from urllib.parse import urlparse
17 if urlparse(dst).scheme == "":
/third_party/python/Doc/library/
Durllib.parse.rst40 .. function:: urlparse(urlstring, scheme='', allow_fragments=True)
54 >>> from urllib.parse import urlparse
55 >>> urlparse("scheme://netloc/path;parameters?query#fragment")
58 >>> o = urlparse("http://docs.python.org:80/3/library/urllib.parse.html?"
75 Following the syntax specifications in :rfc:`1808`, urlparse recognizes
83 >>> from urllib.parse import urlparse
84 >>> urlparse('//www.cwi.nl:80/%7Eguido/Python.html')
87 >>> urlparse('www.cwi.nl/%7Eguido/Python.html')
90 >>> urlparse('help/Python.html')
134 :ref:`urlparse-result-object` for more information on the result object.
[all …]
/third_party/flutter/skia/infra/bots/
Drecipes.py33 import urlparse
170 engine_path = urlparse.urlparse(url).path
/third_party/nghttp2/python/
Dwsgi.py25 from urllib.parse import urlparse
54 parsed = urlparse(self.path)
/third_party/python/Lib/urllib/
Drobotparser.py57 self.host, self.path = urllib.parse.urlparse(url)[1:3]
168 parsed_url = urllib.parse.urlparse(urllib.parse.unquote(url))
222 path = urllib.parse.urlunparse(urllib.parse.urlparse(path))
Dparse.py372 def urlparse(url, scheme='', allow_fragments=True): function
534 urlparse(base, '', allow_fragments)
536 urlparse(url, bscheme, allow_fragments)
602 s, n, p, a, q, frag = urlparse(url)
Drequest.py104 urlparse, urlsplit, urljoin, unwrap, quote, unquote,
309 host = urlparse(url)[1]
702 urlparts = urlparse(newurl)
1237 host = urlparse(req.full_url)[1]
2183 urlparts = urlparse(newurl)
/third_party/skia/tools/skpbench/
Dsheet.py18 import urlparse
160 fileuri = urlparse.urljoin('file:', urllib.pathname2url(pathname))
/third_party/flutter/skia/tools/skpbench/
Dsheet.py18 import urlparse
160 fileuri = urlparse.urljoin('file:', urllib.pathname2url(pathname))
/third_party/python/Lib/distutils/command/
Dupload.py14 from urllib.parse import urlparse
79 urlparse(self.repository)
Dregister.py162 host = urllib.parse.urlparse(self.repository)[1]
/third_party/python/Doc/tools/
Dsusp-ignored.csv309 whatsnew/2.7,,::,>>> urlparse.urlparse('http://[1080::8:800:200C:417A]/foo')
314 whatsnew/3.2,,:affe,>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo…
316 whatsnew/3.2,,:beef,>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo…
318 whatsnew/3.2,,:cafe,>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo…
320 whatsnew/3.2,,:deaf,>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo…
324 whatsnew/3.2,,:feed,>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo…
/third_party/json/benchmarks/thirdparty/benchmark/
Dmingw.py25 import urlparse as parse
144 parsed = parse.urlparse(stream.geturl())
/third_party/googletest/googletest/scripts/
Dupload.py62 import urlparse
773 scheme, netloc, path, params, query, fragment = urlparse.urlparse(url)
792 base = urlparse.urlunparse(("http", netloc, path, params,
797 base = urlparse.urlunparse((scheme, netloc, path, params,
/third_party/mesa3d/.gitlab-ci/lava/
Dlava_job_submitter.py168 uri_obj = urllib.parse.urlparse(uri)
/third_party/mesa3d/bin/
Dgen_release_notes.py200 issues.append(os.path.basename(urllib.parse.urlparse(bug).path))
/third_party/python/Lib/xml/dom/
Dxmlbuilder.py227 parts = urllib.parse.urlparse(systemId)
/third_party/python/Doc/whatsnew/
D2.7.rst1648 * The :mod:`urlparse` module's :func:`~urlparse.urlsplit` now handles
1659 >>> import urlparse
1660 >>> urlparse.urlsplit('invented://host/filename?query')
1668 >>> import urlparse
1669 >>> urlparse.urlsplit('invented://host/filename?query')
1675 The :mod:`urlparse` module also supports IPv6 literal addresses as defined by
1681 >>> urlparse.urlparse('http://[1080::8:800:200C:417A]/foo')
2508 * The :mod:`urlparse` module's :func:`~urlparse.urlsplit` now handles
2519 >>> import urlparse
2520 >>> urlparse.urlsplit('invented://host/filename?query')
[all …]

12