Permalink
Browse files

fix spell of contentType

  • Loading branch information...
1 parent 81e6a56 commit bfde2d136f298e6f8cf1debc3d43e77aaee1d404 @zoghal zoghal committed Oct 27, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Network/CakeResponse.php
@@ -1281,7 +1281,7 @@ public function file($path, $options = array()) {
$agent = env('HTTP_USER_AGENT');
if (preg_match('%Opera(/| )([0-9].[0-9]{1,2})%', $agent)) {
- $contentType = 'application/octetstream';
+ $contentType = 'application/octet-stream';
} elseif (preg_match('/MSIE ([0-9].[0-9]{1,2})/', $agent)) {
$contentType = 'application/force-download';
}

0 comments on commit bfde2d1

Please sign in to comment.