(contentType: string)
| 1 | /** @internal */ |
| 2 | export function normalize(contentType: string): string { |
| 3 | const normalized = contentType.toLowerCase().trim() |
| 4 | const index = normalized.indexOf(";") |
| 5 | return index === -1 ? normalized : normalized.slice(0, index).trim() |
| 6 | } |
nothing calls this directly
no outgoing calls
no test coverage detected