MCPcopy Create free account
hub / github.com/nodejs/node / removeHTTPWhitespace

Function removeHTTPWhitespace

deps/undici/undici.js:4590–4592  ·  view source on GitHub ↗
(str, leading = true, trailing = true)

Source from the content-addressed store, hash-verified

4588 }
4589 __name(isHTTPWhiteSpace, "isHTTPWhiteSpace");
4590 function removeHTTPWhitespace(str, leading = true, trailing = true) {
4591 return removeChars(str, leading, trailing, isHTTPWhiteSpace);
4592 }
4593 __name(removeHTTPWhitespace, "removeHTTPWhitespace");
4594 function minimizeSupportedMimeType(mimeType) {
4595 switch (mimeType.essence) {

Callers 2

parseMIMETypeFunction · 0.70
parseExtensionsFunction · 0.70

Calls 1

removeCharsFunction · 0.70

Tested by

no test coverage detected