Searched refs:URLopener (Results 1 – 6 of 6) sorted by relevance
/third_party/node/tools/configure.d/ |
D | nodedownload.py | 11 from urllib.request import FancyURLopener, URLopener 13 from urllib import FancyURLopener, URLopener 27 version = '%s node.js/configure' % URLopener.version
|
/third_party/python/Lib/urllib/ |
D | request.py | 1695 class URLopener: class 2140 class FancyURLopener(URLopener): 2144 URLopener.__init__(self, *args, **kwargs) 2219 URLopener.http_error_default(self, url, fp, 2224 URLopener.http_error_default(self, url, fp, 2228 URLopener.http_error_default(self, url, fp, 2231 URLopener.http_error_default(self, url, fp, errcode, errmsg, 2244 URLopener.http_error_default(self, url, fp, 2249 URLopener.http_error_default(self, url, fp, 2253 URLopener.http_error_default(self, url, fp, [all …]
|
/third_party/python/Lib/test/ |
D | test_urllib.py | 598 urllib.request.URLopener() 1576 class DummyURLopener(urllib.request.URLopener): 1596 filename, _ = urllib.request.URLopener().retrieve(fileurl) 1605 filename, _ = urllib.request.URLopener().retrieve(url) 1611 class DummyURLopener(urllib.request.URLopener): 1616 self.assertRaises(OSError, urllib.request.URLopener().open, url) 1617 self.assertRaises(OSError, urllib.request.URLopener().retrieve, url)
|
/third_party/python/Doc/library/ |
D | urllib.request.rst | 70 :class:`URLopener` and :class:`FancyURLopener` classes, this function 1407 .. class:: URLopener(proxies=None, **x509) 1415 By default, the :class:`URLopener` class sends a :mailheader:`User-Agent` header 1418 :class:`URLopener` or :class:`FancyURLopener` and setting the class attribute 1431 :class:`URLopener` objects will raise an :exc:`OSError` exception if the server 1483 :class:`FancyURLopener` subclasses :class:`URLopener` providing default handling 1500 The parameters to the constructor are the same as those for :class:`URLopener`.
|
/third_party/python/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
|
/third_party/python/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.
|