(ct: string | null | undefined)
| 247 | }; |
| 248 | |
| 249 | const isTextContentType = (ct: string | null | undefined): boolean => |
| 250 | normalizeContentType(ct).startsWith("text/"); |
| 251 | |
| 252 | const isOctetStream = (ct: string | null | undefined): boolean => |
| 253 | normalizeContentType(ct) === "application/octet-stream"; |
no test coverage detected