Home
last modified time | relevance | path

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

1234

/external/python/cpython2/Lib/test/
Dtest_urlparse.py3 import urlparse
73 result = urlparse.urlparse(url)
79 result2 = urlparse.urlunparse(result)
85 result3 = urlparse.urlparse(result.geturl())
100 result = urlparse.urlsplit(url)
105 result2 = urlparse.urlunsplit(result)
110 result3 = urlparse.urlsplit(result.geturl())
125 result = urlparse.parse_qsl(orig, keep_blank_values=True)
128 result = urlparse.parse_qsl(orig, keep_blank_values=False)
134 result = urlparse.parse_qs(orig, keep_blank_values=True)
[all …]
/external/python/cpython2/Lib/
Drobotparser.py13 import urlparse
53 self.host, self.path = urlparse.urlparse(url)[1:3]
146 parsed_url = urlparse.urlparse(urllib.unquote(url))
147 url = urlparse.urlunparse(('', '', parsed_url.path,
173 path = urlparse.urlunparse(urlparse.urlparse(path))
/external/python/cpython2/Doc/library/
Durlparse.rst1 :mod:`urlparse` --- Parse URLs into components
4 .. module:: urlparse
16 The :mod:`urlparse` module is renamed to :mod:`urllib.parse` in Python 3.
20 **Source code:** :source:`Lib/urlparse.py`
39 The :mod:`urlparse` module defines the following functions:
42 .. function:: urlparse(urlstring[, scheme[, allow_fragments]])
52 >>> from urlparse import urlparse
53 >>> o = urlparse('http://www.cwi.nl:80/%7Eguido/Python.html')
65 Following the syntax specifications in :rfc:`1808`, urlparse recognizes
70 >>> from urlparse import urlparse
[all …]
/external/autotest/client/cros/cellular/
Dtest_endpoint.py8 import urlparse
27 url = urlparse.urlparse(self.path)
32 parsed_query = urlparse.parse_qs(url.query)
Dnet_interface.py6 import urlparse
72 urlparse.urlparse(network.FETCH_URL_PATTERN_FOR_TEST).netloc
/external/autotest/server/cros/ap_configurators/
Dlinksyswrt320_ap_configurator.py5 import urlparse
17 page_url = urlparse.urljoin(self.admin_interface_url,
21 page_url = urlparse.urljoin(self.admin_interface_url,
Dlinksyswrt160_ap_configurator.py6 import urlparse
17 page_url = urlparse.urljoin(self.admin_interface_url,
21 page_url = urlparse.urljoin(self.admin_interface_url,
Dlinksyswrt120n_ap_configurator.py5 import urlparse
17 page_url = urlparse.urljoin(self.admin_interface_url,
21 page_url = urlparse.urljoin(self.admin_interface_url,
Dbelkin_ap_configurator.py10 import urlparse
32 page_url = urlparse.urljoin(self.admin_interface_url,'home.htm')
89 page_url = urlparse.urljoin(self.admin_interface_url,
93 page_url = urlparse.urljoin(self.admin_interface_url,
DbelkinWRTR_ap_configurator.py6 import urlparse
47 page_url = urlparse.urljoin(self.admin_interface_url,
51 page_url = urlparse.urljoin(self.admin_interface_url,
DbelkinF9K1001_ap_configurator.py5 import urlparse
53 page_url = urlparse.urljoin(self.admin_interface_url,
56 page_url = urlparse.urljoin(self.admin_interface_url,
Dlinksyse2500_ap_configurator.py5 import urlparse
52 page_url = urlparse.urljoin(self.admin_interface_url,
56 page_url = urlparse.urljoin(self.admin_interface_url,
DbelkinF9K_ap_configurator.py8 import urlparse
55 page_url = urlparse.urljoin(self.admin_interface_url,'login.stm')
113 page_url = urlparse.urljoin(self.admin_interface_url,
118 page_url = urlparse.urljoin(self.admin_interface_url,
/external/autotest/client/cros/
Dhttpd.py13 import threading, urllib, urlparse
70 path = urlparse.urlparse(self.path)[2]
113 path = urlparse.urlparse(path)[2]
143 split_url = urlparse.urlsplit(self.path)
148 args = urlparse.parse_qs(split_url[3])
/external/autotest/server/
Dafe_urls.py18 import urlparse
37 self._root_url_parts = urlparse.urlsplit(root_url)
75 return urlparse.SplitResult(
Dafe_urls_unittest.py6 import urlparse
24 urlsplit = urlparse.urlsplit
/external/autotest/client/site_tests/network_3GSmokeTest/
Dnetwork_3GSmokeTest.py7 import urlparse
107 urlparse.urlparse(url_pattern).hostname,
/external/autotest/server/site_tests/autoupdate_CatchBadSignatures/
Dautoupdate_CatchBadSignatures.py6 import urlparse
14 split_url = urlparse.urlsplit(url)
15 url_base = urlparse.urlunsplit(
/external/clang/tools/clang-format/
Dclang-format-bbedit.applescript8 …eturn do shell script "python -c \"import urllib, urlparse, sys; print urllib.unquote(urlparse.url…
/external/autotest/client/site_tests/autoupdate_CannedOmahaUpdate/
Dautoupdate_CannedOmahaUpdate.py7 import urlparse
14 split_url = urlparse.urlsplit(url)
15 url_base = urlparse.urlunsplit(
/external/autotest/client/common_lib/cros/
Dautoupdater.py9 import urlparse
62 urlparse.urlparse(update_url).path).split('/')[-1].strip()
76 return '/'.join(urlparse.urlparse(update_url).path.split('/')[-2:])
542 auserver_host = 'http://%s' % urlparse.urlparse(self.update_url)[1]
/external/python/cpython2/Tools/webchecker/
Dwebchecker.py117 import urlparse
317 urlparse.urlparse(root)
321 troot = urlparse.urlunparse((scheme, netloc, path,
329 root = urlparse.urljoin(root, "/")
331 url = urlparse.urljoin(root, "/robots.txt")
482 root = urlparse.urljoin(root, "/")
709 base = urlparse.urljoin(self.url, self.parser.getbase() or "")
712 t = urlparse.urlparse(rawlink)
717 rawlink = urlparse.urlunparse(t)
718 link = urlparse.urljoin(base, rawlink)
/external/autotest/client/site_tests/network_WiMaxSmoke/
Dnetwork_WiMaxSmoke.py7 import urlparse
117 urlparse.urlparse(self._fetch_url_pattern).hostname,
/external/autotest/scheduler/shard/
Dsimple_heartbeat_server.py37 import urlparse
108 parsed_path = urlparse.urlparse(self.path, allow_fragments=True)
/external/skia/infra/bots/
Drecipes.py25 import urlparse
148 engine_path = urlparse.urlparse(url).path

1234