(value)
| 116 | } |
| 117 | |
| 118 | const encode = (value) => { |
| 119 | if (value.length === 0) return '""'; |
| 120 | const encode = SafeStringPrototypeSearch(value, NOT_HTTP_TOKEN_CODE_POINT) !== -1; |
| 121 | if (!encode) return value; |
| 122 | const escaped = escapeQuoteOrSolidus(value); |
| 123 | return `"${escaped}"`; |
| 124 | }; |
| 125 | |
| 126 | class MIMEParams { |
| 127 | #data = new SafeMap(); |
no test coverage detected