Home
last modified time | relevance | path

Searched refs:fullurl (Results 1 – 3 of 3) 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/cpython2/Doc/library/
Durllib.rst347 .. method:: open(fullurl[, data])
349 Open *fullurl* using the appropriate protocol. This method sets up cache and
356 .. method:: open_unknown(fullurl[, data])