-
Notifications
You must be signed in to change notification settings - Fork 550
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add common types to Mimetypes.java #83
Comments
Probably a better approach is to provide a method to let user register new mime types. What do you say? |
That would also work. At the moment you have to stand on your head to do it by feeding it an InputStream. Also, it feels weird manipulating an "internal" class. |
@paleozogt That's true :). I don't mind moving it out of internal if there is a valid reason. The method using InputStream isn't very helpful. I'll add a friendly method shortly. Stay tuned. |
Sounds great. Thanks! |
This has been added to v2.2.10 release. Please check out the release notes. |
Thanks! |
Could we get some common mime-types added to Mimetypes.java? For example,
application/json
andtext/yaml
would be very useful.The text was updated successfully, but these errors were encountered: