|
|
@ -182,7 +182,8 @@ class ObjectHelper { |
|
|
|
//Set what headers we can... |
|
|
|
//Set what headers we can... |
|
|
|
if ($mimeType = $info['content_type']) { |
|
|
|
if ($mimeType = $info['content_type']) { |
|
|
|
drupal_set_header("Content-Type: $mimeType"); |
|
|
|
drupal_set_header("Content-Type: $mimeType"); |
|
|
|
|
|
|
|
// Fixes an IE issue |
|
|
|
|
|
|
|
drupal_set_header("Cache-Control: private", TRUE); |
|
|
|
if ($asAttachment) { |
|
|
|
if ($asAttachment) { |
|
|
|
$suggestedFileName = "$label"; |
|
|
|
$suggestedFileName = "$label"; |
|
|
|
$pos = strpos($suggestedFileName, '.'); |
|
|
|
$pos = strpos($suggestedFileName, '.'); |
|
|
|