MINOR Fixed call to addHeader() properly

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75262 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2009-04-27 06:41:22 +00:00 committed by Sam Minnee
parent bab746cd6b
commit 033d55eeab

View File

@ -263,7 +263,7 @@ class HTTPRequest extends Object implements ArrayAccess {
$response->addHeader("Content-Type", "$mimeType; name=\"" . addslashes($fileName) . "\"");
$response->addHeader("Content-disposition", "attachment; filename=" . addslashes($fileName));
$response->addHeader("Content-Length", strlen($fileData));
$response->addheader("Pragma", ""); // Necessary because IE has issues sending files over SSL
$response->addHeader("Pragma", ""); // Necessary because IE has issues sending files over SSL
return $response;
}