gabriel-vasile / mimetype

A fast Golang library for media type and file extension detection, based on magic numbers
https://pkg.go.dev/github.com/gabriel-vasile/mimetype#pkg-overview
MIT License
1.63k stars 162 forks source link

alias text/rtf to application/rtf #547

Closed gabriel-vasile closed 3 months ago

gabriel-vasile commented 3 months ago

Seems like rtf uses both text/rtf and application/rtf and we only have the first.

Discovered the issue while reviewing #544.