We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8a9b687 + a8fa7ab commit 4bd42b6Copy full SHA for 4bd42b6
src/ApacheMimetypeHelper.php
@@ -91,7 +91,6 @@ public function getMimetypeFromExtension($extension)
91
'pbm' => 'image/x-portable-bitmap',
92
'pdf' => 'application/pdf',
93
'pgm' => 'image/x-portable-graymap',
94
- 'pkpass' => 'application/vnd.apple.pkpass',
95
'png' => 'image/png',
96
'pnm' => 'image/x-portable-anymap',
97
'ppm' => 'image/x-portable-pixmap',
@@ -128,6 +127,9 @@ public function getMimetypeFromExtension($extension)
128
127
'yaml' => 'text/yaml',
129
'yml' => 'text/yaml',
130
'zip' => 'application/zip',
+
131
+ // Non-Apache standard
132
+ 'pkpass' => 'application/vnd.apple.pkpass',
133
'msg' => 'application/vnd.ms-outlook',
134
];
135
0 commit comments