Content-Type lab
Inspect the header, not the filename.
Test the same strict parsing, formatting, matching, and guard behavior exposed by the package.
Parse a header
Separate a header into its normalized type and parameters.
Try an example
Results update as you type.
OUTPUTVALID
{
"type": "application/problem+json",
"parameters": {
"charset": "utf-8"
}
}JSON-likeTextual
Ready to use it in code?See every utility, return value, and edge-case note.
Open the docs