discourse / mini_mime

minimal mime type library
MIT License
95 stars 34 forks source link

Support of application/problem+json and application/problem+xml media types #58

Open paulRbr opened 4 months ago

paulRbr commented 4 months ago

It seems that since this RFC both application/problem+json and application/problem+xml are considered valid media types.

I tried to update the database, but those media types don't seem to be accessible from the gem:

MiniMime.lookup_by_content_type("application/problem+json")
# => nil

Do you know how we could parse these two media types with the gem?

Thanks for your help!