Searched refs:URLopener (Results 1 – 12 of 12) sorted by relevance
/external/python/cpython2/Lib/ |
D | robotparser.py | 57 opener = URLopener() 223 class URLopener(urllib.FancyURLopener): class
|
D | urllib.py | 120 class URLopener: class 616 class FancyURLopener(URLopener): 620 URLopener.__init__(self, *args, **kwargs) 690 URLopener.http_error_default(self, url, fp, 696 URLopener.http_error_default(self, url, fp, 700 URLopener.http_error_default(self, url, fp, 712 URLopener.http_error_default(self, url, fp, 718 URLopener.http_error_default(self, url, fp, 722 URLopener.http_error_default(self, url, fp,
|
/external/python/cpython3/Lib/urllib/ |
D | request.py | 1689 class URLopener: class 2134 class FancyURLopener(URLopener): 2138 URLopener.__init__(self, *args, **kwargs) 2213 URLopener.http_error_default(self, url, fp, 2218 URLopener.http_error_default(self, url, fp, 2222 URLopener.http_error_default(self, url, fp, 2225 URLopener.http_error_default(self, url, fp, errcode, errmsg, 2238 URLopener.http_error_default(self, url, fp, 2243 URLopener.http_error_default(self, url, fp, 2247 URLopener.http_error_default(self, url, fp, [all …]
|
/external/python/cpython2/Doc/library/ |
D | urllib.rst | 205 :class:`URLopener` or :class:`FancyURLopener`, then assign an instance of that 208 :mailheader:`User-Agent` header than :class:`URLopener` defines. This can be 324 .. class:: URLopener([proxies[, context[, **x509]]]) 330 By default, the :class:`URLopener` class sends a :mailheader:`User-Agent` header 333 :class:`URLopener` or :class:`FancyURLopener` and setting the class attribute 349 :class:`URLopener` objects will raise an :exc:`IOError` exception if the server 397 :class:`FancyURLopener` subclasses :class:`URLopener` providing default handling 414 The parameters to the constructor are the same as those for :class:`URLopener`.
|
/external/python/cpython3/Lib/test/ |
D | test_urllib.py | 596 urllib.request.URLopener() 1556 class DummyURLopener(urllib.request.URLopener): 1576 filename, _ = urllib.request.URLopener().retrieve(fileurl) 1585 filename, _ = urllib.request.URLopener().retrieve(url) 1591 class DummyURLopener(urllib.request.URLopener): 1596 self.assertRaises(OSError, urllib.request.URLopener().open, url) 1597 self.assertRaises(OSError, urllib.request.URLopener().retrieve, url)
|
/external/python/cpython3/Doc/library/ |
D | urllib.request.rst | 70 :class:`URLopener` and :class:`FancyURLopener` classes, this function 1402 .. class:: URLopener(proxies=None, **x509) 1410 By default, the :class:`URLopener` class sends a :mailheader:`User-Agent` header 1413 :class:`URLopener` or :class:`FancyURLopener` and setting the class attribute 1426 :class:`URLopener` objects will raise an :exc:`OSError` exception if the server 1478 :class:`FancyURLopener` subclasses :class:`URLopener` providing default handling 1495 The parameters to the constructor are the same as those for :class:`URLopener`.
|
/external/python/cpython2/Tools/webchecker/ |
D | webchecker.py | 740 http_error_default = urllib.URLopener.http_error_default
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.8.0b1.rst | 8 ``local_file://`` URL schemes in ``URLopener().open()`` and 9 ``URLopener().retrieve()`` of :mod:`urllib.request`. 854 Fix :exc:`NameError` in :meth:`urllib.request.URLopener.retrieve`. Patch by
|
/external/python/cpython2/Lib/test/ |
D | test_urllib.py | 1014 class DummyURLopener(urllib.URLopener):
|
/external/python/six/documentation/ |
D | index.rst | 763 * :class:`py2:urllib.URLopener`
|
/external/python/cpython2/Misc/ |
D | HISTORY | 10985 URLopener classes, and you have copied code from the old urllib.py, 12762 - urllib.py: close the socket and temp file in URLopener.retrieve() so 13133 created y URLopener.retrieve() so cleanup() can properly remove them.
|
/external/python/cpython3/Misc/ |
D | HISTORY | 5685 urllib.request.URLopener.retrieve. 28364 URLopener classes, and you have copied code from the old urllib.py, 30141 - urllib.py: close the socket and temp file in URLopener.retrieve() so 30512 created y URLopener.retrieve() so cleanup() can properly remove them.
|