mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Note on usage of HTTP::send_files() for large files (see trac/5125)
This commit is contained in:
parent
d042b380c0
commit
2266638475
@ -377,7 +377,9 @@ class SS_HTTPRequest implements ArrayAccess {
|
||||
public function offsetUnset($offset) {}
|
||||
|
||||
/**
|
||||
* Construct an SS_HTTPResponse that will deliver a file to the client
|
||||
* Construct an SS_HTTPResponse that will deliver a file to the client.
|
||||
* Caution: Since it requires $fileData to be passed as binary data (no stream support),
|
||||
* it's only advisable to send small files through this method.
|
||||
*
|
||||
* @static
|
||||
* @param $fileData
|
||||
|
Loading…
x
Reference in New Issue
Block a user