Searched refs:fullurl (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython2/Lib/ |
D | urllib.py | 183 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 …]
|
D | urllib2.py | 411 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/ |
D | request.py | 498 def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): argument 500 if isinstance(fullurl, str): 501 req = Request(fullurl, data) 503 req = fullurl 1754 def open(self, fullurl, data=None): argument 1756 fullurl = unwrap(_to_bytes(fullurl)) 1757 fullurl = quote(fullurl, safe="%/:=&?~#+!$,;'@()*[]|") 1758 if self.tempcache and fullurl in self.tempcache: 1759 filename, headers = self.tempcache[fullurl] 1761 return addinfourl(fp, headers, fullurl) [all …]
|
/external/python/cpython2/Doc/library/ |
D | urllib.rst | 352 .. 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/ |
D | urllib.request.rst | 90 .. audit-event:: urllib.Request fullurl,data,headers,method urllib.request.urlopen 93 ``urllib.Request`` with arguments ``fullurl``, ``data``, ``headers``, 1429 .. method:: open(fullurl, data=None) 1431 Open *fullurl* using the appropriate protocol. This method sets up cache and 1437 This method always quotes *fullurl* using :func:`~urllib.parse.quote`. 1439 .. method:: open_unknown(fullurl, data=None)
|