mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
update mimetype map
References: http://www.iana.org/assignments/media-types/application/index.html http://www.iana.org/assignments/media-types/audio/index.html https://github.com/h5bp/html5-boilerplate/blob/master/.htaccess#L86
This commit is contained in:
parent
4db909bd2d
commit
8a09b3d454
1 changed files with 23 additions and 3 deletions
|
@ -114,10 +114,10 @@ class CakeResponse {
|
||||||
'7z' => 'application/x-7z-compressed',
|
'7z' => 'application/x-7z-compressed',
|
||||||
'hdf' => 'application/x-hdf',
|
'hdf' => 'application/x-hdf',
|
||||||
'hqx' => 'application/mac-binhex40',
|
'hqx' => 'application/mac-binhex40',
|
||||||
'ico' => 'image/vnd.microsoft.icon',
|
'ico' => 'image/x-icon',
|
||||||
'ips' => 'application/x-ipscript',
|
'ips' => 'application/x-ipscript',
|
||||||
'ipx' => 'application/x-ipix',
|
'ipx' => 'application/x-ipix',
|
||||||
'js' => 'text/javascript',
|
'js' => 'application/javascript',
|
||||||
'latex' => 'application/x-latex',
|
'latex' => 'application/x-latex',
|
||||||
'lha' => 'application/octet-stream',
|
'lha' => 'application/octet-stream',
|
||||||
'lsp' => 'application/x-lisp',
|
'lsp' => 'application/x-lisp',
|
||||||
|
@ -169,6 +169,7 @@ class CakeResponse {
|
||||||
'texinfo' => 'application/x-texinfo',
|
'texinfo' => 'application/x-texinfo',
|
||||||
'tr' => 'application/x-troff',
|
'tr' => 'application/x-troff',
|
||||||
'tsp' => 'application/dsptype',
|
'tsp' => 'application/dsptype',
|
||||||
|
'ttc' => 'font/ttf',
|
||||||
'ttf' => 'font/ttf',
|
'ttf' => 'font/ttf',
|
||||||
'unv' => 'application/i-deas',
|
'unv' => 'application/i-deas',
|
||||||
'ustar' => 'application/x-ustar',
|
'ustar' => 'application/x-ustar',
|
||||||
|
@ -234,6 +235,12 @@ class CakeResponse {
|
||||||
'ogv' => 'video/ogg',
|
'ogv' => 'video/ogg',
|
||||||
'webm' => 'video/webm',
|
'webm' => 'video/webm',
|
||||||
'mp4' => 'video/mp4',
|
'mp4' => 'video/mp4',
|
||||||
|
'm4v' => 'video/mp4',
|
||||||
|
'f4v' => 'video/mp4',
|
||||||
|
'f4p' => 'video/mp4',
|
||||||
|
'm4a' => 'audio/mp4',
|
||||||
|
'f4a' => 'audio/mp4',
|
||||||
|
'f4b' => 'audio/mp4',
|
||||||
'gif' => 'image/gif',
|
'gif' => 'image/gif',
|
||||||
'ief' => 'image/ief',
|
'ief' => 'image/ief',
|
||||||
'jpe' => 'image/jpeg',
|
'jpe' => 'image/jpeg',
|
||||||
|
@ -262,7 +269,7 @@ class CakeResponse {
|
||||||
'mime' => 'www/mime',
|
'mime' => 'www/mime',
|
||||||
'pdb' => 'chemical/x-pdb',
|
'pdb' => 'chemical/x-pdb',
|
||||||
'xyz' => 'chemical/x-pdb',
|
'xyz' => 'chemical/x-pdb',
|
||||||
'javascript' => 'text/javascript',
|
'javascript' => 'application/javascript',
|
||||||
'form' => 'application/x-www-form-urlencoded',
|
'form' => 'application/x-www-form-urlencoded',
|
||||||
'file' => 'multipart/form-data',
|
'file' => 'multipart/form-data',
|
||||||
'xhtml' => array('application/xhtml+xml', 'application/xhtml', 'text/xhtml'),
|
'xhtml' => array('application/xhtml+xml', 'application/xhtml', 'text/xhtml'),
|
||||||
|
@ -273,6 +280,19 @@ class CakeResponse {
|
||||||
'wml' => 'text/vnd.wap.wml',
|
'wml' => 'text/vnd.wap.wml',
|
||||||
'wmlscript' => 'text/vnd.wap.wmlscript',
|
'wmlscript' => 'text/vnd.wap.wmlscript',
|
||||||
'wbmp' => 'image/vnd.wap.wbmp',
|
'wbmp' => 'image/vnd.wap.wbmp',
|
||||||
|
'woff' => 'application/x-font-woff',
|
||||||
|
'webp' => 'image/webp',
|
||||||
|
'appcache' => 'text/cache-manifest',
|
||||||
|
'manifest' => 'text/cache-manifest',
|
||||||
|
'htc' => 'text/x-component',
|
||||||
|
'rdf' => 'application/xml',
|
||||||
|
'crx' => 'application/x-chrome-extension',
|
||||||
|
'oex' => 'application/x-opera-extension',
|
||||||
|
'xpi' => 'application/x-xpinstall',
|
||||||
|
'safariextz' => 'application/octet-stream',
|
||||||
|
'webapp' => 'application/x-web-app-manifest+json',
|
||||||
|
'vcf' => 'text/x-vcard',
|
||||||
|
'vtt' => 'text/vtt',
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue