Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Back port mime types from 3.next
  • Loading branch information
ravage84 committed Feb 19, 2016
1 parent 8220669 commit cd62c89
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/Cake/Network/CakeResponse.php
Expand Up @@ -122,6 +122,7 @@ class CakeResponse {
'ips' => 'application/x-ipscript',
'ipx' => 'application/x-ipix',
'js' => 'application/javascript',
'jsonapi' => 'application/vnd.api+json',
'latex' => 'application/x-latex',
'lha' => 'application/octet-stream',
'lsp' => 'application/x-lisp',
Expand Down Expand Up @@ -264,6 +265,7 @@ class CakeResponse {
'xbm' => 'image/x-xbitmap',
'xpm' => 'image/x-xpixmap',
'xwd' => 'image/x-xwindowdump',
'psd' => ['application/photoshop', 'application/psd', 'image/psd', 'image/x-photoshop', 'image/photoshop', 'zz-application/zz-winassoc-psd'],
'ice' => 'x-conference/x-cooltalk',
'iges' => 'model/iges',
'igs' => 'model/iges',
Expand Down Expand Up @@ -300,7 +302,8 @@ class CakeResponse {
'vcf' => 'text/x-vcard',
'vtt' => 'text/vtt',
'mkv' => 'video/x-matroska',
'pkpass' => 'application/vnd.apple.pkpass'
'pkpass' => 'application/vnd.apple.pkpass',
'ajax' => 'text/html'
);

/**
Expand Down

0 comments on commit cd62c89

Please sign in to comment.