MCPcopy
hub / github.com/ampproject/amphtml / assertAbsoluteHttpOrHttpsUrl

Method assertAbsoluteHttpOrHttpsUrl

src/service/url-impl.js:125–127  ·  view source on GitHub ↗

* Asserts that a given url is an absolute HTTP or HTTPS URL. * @param {string} urlString * @return {string}

(urlString)

Source from the content-addressed store, hash-verified

123 * @return {string}
124 */
125 assertAbsoluteHttpOrHttpsUrl(urlString) {
126 return assertAbsoluteHttpOrHttpsUrl(urlString);
127 }
128
129 /**
130 * Returns whether the URL has the origin of a proxy.

Callers 4

assertAndParseConfig_Method · 0.80
requestMoreInfoLink_Function · 0.80
maybeHandleRedirect_Method · 0.80

Calls 1

Tested by

no test coverage detected