mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-29 20:59:23 +02: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…
Reference in New Issue
Block a user