net/http: DetectContentType does not detect ttf fonts #20808
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Go's DetectContentType is detecting ttf fonts as application/octet-stream. Acceptable content types for tff fonts would be:
font/ttf
application/ttf
application/x-ttf
application/truetype
application/font
application/font-sfnt
Related: caddyserver/caddy#1729
Tagging: @mholt
The text was updated successfully, but these errors were encountered: