Skip to content
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

Added new zip mime-types #29

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions mime.types.custom
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ image/jpeg jpg jpeg jpe
image/x-ms-bmp bmp
text/php php
text/x-php php
multipart/x-zip zip
application/x-zip-compressed zip
10 changes: 10 additions & 0 deletions mime.types.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
array (
0 => 'application/x-gzip',
1 => 'application/zip',
2 => 'application/x-zip-compressed',
3 => 'application/x-zip',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On README, it has this message:

This package uses httpd's mime.types to generate a mapping of file extension to MIME type and the other way around.

It seems that these zip mime types are not mentioned on this mapping list.

),
'amr' =>
array (
Expand Down Expand Up @@ -6499,6 +6501,14 @@
array (
0 => 'zip',
),
'application/x-zip-compressed' =>
array (
0 => 'zip',
),
'application/x-zip' =>
array (
0 => 'zip',
),
'audio/adpcm' =>
array (
0 => 'adp',
Expand Down