Skip to content

Conversation

@nikic
Copy link
Member

@nikic nikic commented Jun 24, 2020

This uses https://github.com/jshttp/mime-db in combination with the preference algorithm in https://github.com/jshttp/mime-types/blob/47b62ac45e9b176a2af35532d0eea4968bb9eb6d/index.js#L154 as the source of truth for our file extension => MIME mapping.

The Apache MIME types we previously used don't seem to be maintained anymore.

Most of the changes here are additions, but some of the existing MIME types also change.

@nikic
Copy link
Member Author

nikic commented Jun 29, 2020

Anyone have thoughts on this?

@php-pulls php-pulls closed this in e17ff61 Aug 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant