(ct: string | null | undefined)
| 206 | }; |
| 207 | |
| 208 | const isTextContentType = (ct: string | null | undefined): boolean => |
| 209 | normalizeContentType(ct).startsWith("text/"); |
| 210 | |
| 211 | const isOctetStream = (ct: string | null | undefined): boolean => |
| 212 | normalizeContentType(ct) === "application/octet-stream"; |
no test coverage detected