How the search works
The page ships 82 extension records over nine categories, Web being the largest at 24. The extension box strips a leading dot, lowercases the query and filters by substring; if any record matches the extension exactly, those rows replace the substring result entirely. The second box filters on the type string, so image/ shows every image type in the table.
A worked example
Typing .jpg returns the single row jpg, image/jpeg, category Image, with the count reading 1 result and a green note below the table describing where to configure the type. Searching js shows two rows, because the table lists js twice with text/javascript and the older application/javascript, exactly the split the reference note explains. Searching m3u8 gives one row, application/vnd.apple.mpegurl, whose exact match overrides the wider substring list.
Filters, copying, counts
Category buttons filter live and combine with both text boxes; an empty search shows the whole table. Each row has a Copy button that puts the type string on the clipboard and reads Copied for just over a second. The result count switches between result and results with the row count.
Where it stops
- An unknown extension prints the red message Nothing matched and a No matches table row; it never falls back to a guess such as application/octet-stream.
- Matching is by extension string only, so no vendor tree or charset parameter is shown anywhere.
- ts resolves to video/mp2t, the MPEG transport stream, not to a TypeScript source file.
- The table is curated, not the IANA registry, so unusual formats are simply absent.
Questions people ask
Why does my server send the wrong type?
Server configuration wins over file contents, so an unmapped extension falls to a default. The single-result note points at the Apache and nginx places to set it, and the value to set is the one in the table.
What does the Copy button copy?
The type string alone, not the extension or category, with the button label reading Copied for 1.2 seconds.
Inline assets need the type in the data URI, which pairs with base64 encoding and image-to-base64; verify the served document itself with the HTML validator.