Home
last modified time | relevance | path

Searched refs:fullurl (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython2/Lib/
Durllib.py183 def open(self, fullurl, data=None): argument
185 fullurl = unwrap(toBytes(fullurl))
188 fullurl = quote(fullurl, safe="%/:=&?~#+!$,;'@()*[]|")
189 if self.tempcache and fullurl in self.tempcache:
190 filename, headers = self.tempcache[fullurl]
192 return addinfourl(fp, headers, fullurl)
193 urltype, url = splittype(fullurl)
200 url = (host, fullurl) # Signal special case to open_*()
208 return self.open_unknown_proxy(proxy, fullurl, data)
210 return self.open_unknown(fullurl, data)
[all …]
Durllib2.py411 def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): argument
413 if isinstance(fullurl, basestring):
414 req = Request(fullurl, data)
416 req = fullurl
/external/python/cpython3/Lib/urllib/
Drequest.py507 def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): argument
509 if isinstance(fullurl, str):
510 req = Request(fullurl, data)
512 req = fullurl
1728 def open(self, fullurl, data=None): argument
1730 fullurl = unwrap(to_bytes(fullurl))
1731 fullurl = quote(fullurl, safe="%/:=&?~#+!$,;'@()*[]|")
1732 if self.tempcache and fullurl in self.tempcache:
1733 filename, headers = self.tempcache[fullurl]
1735 return addinfourl(fp, headers, fullurl)
[all …]
/external/python/cpython2/Doc/library/
Durllib.rst352 .. method:: open(fullurl[, data])
354 Open *fullurl* using the appropriate protocol. This method sets up cache and
361 .. method:: open_unknown(fullurl[, data])
/external/python/cpython3/Doc/library/
Durllib.request.rst1410 .. method:: open(fullurl, data=None)
1412 Open *fullurl* using the appropriate protocol. This method sets up cache and
1419 .. method:: open_unknown(fullurl, data=None)