AD7six 2012-07-03 16:07:57 +02:00
parent 4db909bd2d
commit 8a09b3d454

View file

@ -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',
); );
/** /**