(ct: string | null | undefined)
| 213 | }; |
| 214 | |
| 215 | const isTextContentType = (ct: string | null | undefined): boolean => |
| 216 | normalizeContentType(ct).startsWith("text/"); |
| 217 | |
| 218 | const isOctetStream = (ct: string | null | undefined): boolean => |
| 219 | normalizeContentType(ct) === "application/octet-stream"; |
no test coverage detected