MCPcopy
hub / github.com/Kong/insomnia / hasHTTPCapability

Method hasHTTPCapability

packages/insomnia/bin/yarn-standalone.js:35415–35426  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

35413 }
35414
35415 hasHTTPCapability(url) {
35416 var _this3 = this;
35417
35418 return (0, (_asyncToGenerator2 || _load_asyncToGenerator()).default)(function* () {
35419 return (yield _this3.config.requestManager.request({
35420 url,
35421 method: 'HEAD',
35422 queue: _this3.resolver.fetchingQueue,
35423 followRedirect: false
35424 })) !== false;
35425 })();
35426 }
35427
35428 resolve() {
35429 var _this4 = this;

Callers 1

resolveMethod · 0.45

Calls 2

_load_asyncToGeneratorFunction · 0.85
requestMethod · 0.45

Tested by

no test coverage detected