Note on usage of HTTP::send_files() for large files (see trac/5125)

This commit is contained in:
Ingo Schommer 2013-04-05 13:50:17 +02:00
parent d042b380c0
commit 2266638475

View File

@ -377,7 +377,9 @@ class SS_HTTPRequest implements ArrayAccess {
public function offsetUnset($offset) {} 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 * @static
* @param $fileData * @param $fileData