/third_party/node/deps/npm/node_modules/create-error-class/ |
D | readme.md | 18 var HTTPError = createErrorClass('HTTPError', function (props) { 22 throw new HTTPError({statusCode: 404});
|
/third_party/python/Doc/library/ |
D | urllib.error.rst | 34 .. exception:: HTTPError 37 :exc:`HTTPError` can also function as a non-exceptional file-like return 55 :exc:`HTTPError`.
|
D | urllib.request.rst | 286 are turned into :exc:`~urllib.error.HTTPError` exceptions. 833 is the case, :exc:`~urllib.error.HTTPError` is raised. See :rfc:`2616` for 836 An :class:`HTTPError` exception raised as a security consideration if the 847 redirect to *newurl*. Otherwise, raise :exc:`~urllib.error.HTTPError` if 1161 :exc:`~urllib.error.HTTPError` if no other handler handles the error.
|
D | functools.rst | 215 except urllib.error.HTTPError:
|
/third_party/grpc/tools/release/ |
D | release_notes.py | 101 from urllib2 import Request, urlopen, HTTPError 104 from urllib.request import Request, urlopen, HTTPError 112 except HTTPError as e:
|
/third_party/node/deps/npm/node_modules/got/ |
D | index.js | 123 throw new got.HTTPError(statusCode, opts); 182 proxy.emit('error', new got.HTTPError(statusCode, opts), null, res); 350 got.HTTPError = createErrorClass('HTTPError', function (statusCode, opts) {
|
D | readme.md | 195 #### got.HTTPError
|
/third_party/python/Lib/distutils/command/ |
D | upload.py | 12 from urllib.error import HTTPError 198 except HTTPError as e:
|
D | register.py | 291 except urllib.error.HTTPError as e:
|
/third_party/python/Doc/howto/ |
D | urllib2.rst | 208 :exc:`HTTPError` is the subclass of :exc:`URLError` raised in the specific case of 231 HTTPError section in Handling Exceptions 239 urlopen will raise an :exc:`HTTPError`. Typical errors include '404' (page not 244 The :exc:`HTTPError` instance raised will have an integer 'code' attribute, which 327 *and* an error page. You can use the :exc:`HTTPError` instance as a response on the 334 ... except urllib.error.HTTPError as e: 348 So if you want to be prepared for :exc:`HTTPError` *or* :exc:`URLError` there are two 358 from urllib.error import URLError, HTTPError 362 except HTTPError as e: 374 The ``except HTTPError`` *must* come first, otherwise ``except URLError`` [all …]
|
/third_party/python/Lib/distutils/tests/ |
D | test_upload.py | 5 from urllib.error import HTTPError 203 (HTTPError('url', 400, 'httperror', {}, None),
|
/third_party/python/Lib/urllib/ |
D | error.py | 35 class HTTPError(URLError, urllib.response.addinfourl): class
|
D | request.py | 102 from urllib.error import URLError, HTTPError, ContentTooShortError 643 raise HTTPError(req.full_url, code, msg, hdrs, fp) 666 raise HTTPError(req.full_url, code, msg, headers, fp) 708 raise HTTPError( 738 raise HTTPError(req.full_url, code, 1111 raise HTTPError(req.full_url, 401, "digest auth failed", 1791 except (HTTPError, URLError): 1987 raise HTTPError(url, errcode, errmsg, headers, None) 2192 raise HTTPError(newurl, errcode,
|
D | robotparser.py | 63 except urllib.error.HTTPError as err:
|
/third_party/python/Tools/ssl/ |
D | multissltests.py | 33 from urllib.error import HTTPError 35 from urllib2 import urlopen, HTTPError 258 except HTTPError as e:
|
/third_party/googletest/googletest/scripts/ |
D | upload.py | 130 class ClientLoginError(urllib2.HTTPError): 134 urllib2.HTTPError.__init__(self, url, code, msg, headers, None) 221 except urllib2.HTTPError, e: 246 except urllib2.HTTPError, e: 250 raise urllib2.HTTPError(req.get_full_url(), response.code, response.msg, 345 except urllib2.HTTPError, e:
|
/third_party/python/Lib/test/ |
D | test_urllib2_localnet.py | 310 except urllib.error.HTTPError: 317 self.assertRaises(urllib.error.HTTPError, urllib.request.urlopen, self.server_url) 363 self.assertRaises(urllib.error.HTTPError, 369 self.assertRaises(urllib.error.HTTPError,
|
D | test_urllib2.py | 1178 except urllib.error.HTTPError: 1217 except urllib.error.HTTPError: 1229 except urllib.error.HTTPError: 1245 self.assertRaises(urllib.error.HTTPError, h.http_error_302, 1815 err = urllib.error.HTTPError(url, code, msg, hdrs, fp)
|
D | test_site.py | 491 except urllib.error.HTTPError as e:
|
D | test_urllib.py | 495 with self.assertRaisesRegex(urllib.error.HTTPError, msg): 509 self.assertRaises(urllib.error.HTTPError, urlopen,
|
/third_party/python/Lib/test/support/ |
D | socket_helper.py | 230 (isinstance(err, urllib.error.HTTPError) and
|
/third_party/python/Misc/NEWS.d/ |
D | 3.5.0b1.rst | 647 urllib.error.HTTPError now has a proper repr() representation. Patch by
|
D | 3.6.0a2.rst | 419 distutils.upload now correctly handles HTTPError. Initial patch by Claudiu
|
D | 3.5.2rc1.rst | 511 distutils.upload now correctly handles HTTPError. Initial patch by Claudiu
|
/third_party/python/Doc/whatsnew/ |
D | 3.4.rst | 1648 :class:`~urllib.error.HTTPError` objects now have a 1649 :attr:`~urllib.error.HTTPError.headers` attribute that provides access to the
|