mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUGFIX Fixed HTTPRequest::send_file() to actually output the response, whereas before it did nothing
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@75263 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
033d55eeab
commit
2c162a2a05
@ -265,7 +265,7 @@ class HTTPRequest extends Object implements ArrayAccess {
|
|||||||
$response->addHeader("Content-Length", strlen($fileData));
|
$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;
|
return $response->output();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user