Closed mohammedgad closed 1 year ago
MIME::Types returns data provided by mime-types-data
. A pull request here to add jfif
to image/jpeg
(only in the images
YAML file) would be accepted.
Thank you @halostatue for your response! I am gonna open a PR shortly.
Hi! Recently I wanted to use
MIME::Types.type_for
to detect a file content type, but I receive nothing when I try to detect the content type of a JFIF file.Expected result: This should return
[#<MIME::Type: image/jpeg>]
Actual result: it returns an empty array