* @see https://fetch.spec.whatwg.org/#http-whitespace * @param {string} str * @param {boolean} [leading=true] * @param {boolean} [trailing=true]
(str, leading = true, trailing = true)
| 526 | * @param {boolean} [trailing=true] |
| 527 | */ |
| 528 | function removeHTTPWhitespace (str, leading = true, trailing = true) { |
| 529 | return removeChars(str, leading, trailing, isHTTPWhiteSpace) |
| 530 | } |
| 531 | |
| 532 | /** |
| 533 | * @see https://mimesniff.spec.whatwg.org/#minimize-a-supported-mime-type |
no test coverage detected