MCPcopy Create free account
hub / github.com/angular/dev-infra / headers

Method headers

github-actions/saucelabs/set-saucelabs-env.js:13450–13453  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13448 if (contentType && !getHeadersList(this[kHeaders]).contains("content-type", true)) {
13449 this[kHeaders].append("content-type", contentType);
13450 }
13451 }
13452 const inputOrInitBody = initBody != null ? initBody : inputBody;
13453 if (inputOrInitBody != null && inputOrInitBody.source == null) {
13454 if (initBody != null && init.duplex == null) {
13455 throw new TypeError("RequestInit: duplex option is required when sending a body.");
13456 }

Callers 1

matchHeadersFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected