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

Function headerValueNormalize

github-actions/saucelabs/set-saucelabs-env.js:12216–12224  ·  view source on GitHub ↗
(potentialValue)

Source from the content-addressed store, hash-verified

12214 return dispatch(origDispatchOpts, handler);
12215 }
12216 instance.runLookup(origin, origDispatchOpts, (err, newOrigin) => {
12217 if (err) {
12218 return handler.onError(err);
12219 }
12220 let dispatchOpts = null;
12221 dispatchOpts = __spreadProps(__spreadValues({}, origDispatchOpts), {
12222 servername: origin.hostname,
12223 // For SNI on TLS
12224 origin: newOrigin,
12225 headers: __spreadValues({
12226 host: origin.hostname
12227 }, origDispatchOpts.headers)

Callers 2

appendHeaderFunction · 0.70
setMethod · 0.70

Calls 1

isHTTPWhiteSpaceCharCodeFunction · 0.70

Tested by

no test coverage detected