On 18Jan2022 13:21, Jelle Zijlstra wrote:
>Perhaps there should be a guess_all_types() function in addition to
>guess_type() that returns all possible types, so that the user can select
>the type they want using any criterion. This would be nicely symmetrical
>with the existing guess_extension
Perhaps there should be a guess_all_types() function in addition to
guess_type() that returns all possible types, so that the user can select
the type they want using any criterion. This would be nicely symmetrical
with the existing guess_extension and guess_all_extensions functions.
On 18Jan2022 08:43, Paul Bryan wrote:
>+1
>
>"x-" prefix indicates ad hoc (unofficial), not deprecated.
>
>I agree, an official MIME type should be preferred over an unofficial
>one.
Maybe, but I disagree about the proposed solution. There are
circumstances where you want a specific MIME type
+1
"x-" prefix indicates ad hoc (unofficial), not deprecated.
I agree, an official MIME type should be preferred over an unofficial
one.
On Tue, 2022-01-18 at 16:26 +, mil...@gmail.com wrote:
> mimetypes are parsed from the file /etc/mime.types
>
> cat /etc/mime.types | grep javascript
>