Since the approved way of handling URLs is to convert them to URIs, I suggest the implementation of
MimeUtil.getMimeTypes(URI uri)
to enable the recommended handling of URLs:
MimeUtil.getMimeTypes(url.toURI())
I would also suggest deprecating the URL version.
Hi Stephen
Thanks for your interest in the mime-util library.
Just for your information, this has already been looked at by us and for the upcoming V3.0 release this will be changed.
Regards
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).