MCPcopy Create free account
hub / github.com/ampproject/amphtml / getResponseHeader

Function getResponseHeader

src/utils/xhr-utils.js:138–140  ·  view source on GitHub ↗

* @param {string} name * @return {string}

(name)

Source from the content-addressed store, hash-verified

136 * @return {string}
137 */
138 getResponseHeader(name) {
139 return lowercasedHeaders[String(name).toLowerCase()] || null;
140 },
141 };
142
143 if (response['init']) {

Callers

nothing calls this directly

Calls 1

StringFunction · 0.50

Tested by

no test coverage detected