aboutsummaryrefslogtreecommitdiffstats
path: root/includes/StreamFile.php
diff options
context:
space:
mode:
authorAaron Schulz <aaron@users.mediawiki.org>2012-01-05 01:33:58 +0000
committerAaron Schulz <aaron@users.mediawiki.org>2012-01-05 01:33:58 +0000
commitfff02ee7d5fc98323b64a0eb6732c7a70271e3da (patch)
tree655c86a303fd472adbef0f45ec8056b8e4271e3f /includes/StreamFile.php
parenteca0d5fbe8f945f6e357eb7b38e0c334c150ab73 (diff)
downloadmediawikicore-fff02ee7d5fc98323b64a0eb6732c7a70271e3da.tar.gz
mediawikicore-fff02ee7d5fc98323b64a0eb6732c7a70271e3da.zip
Added a bit to StreamFile docs
Notes
Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/108107
Diffstat (limited to 'includes/StreamFile.php')
-rw-r--r--includes/StreamFile.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/includes/StreamFile.php b/includes/StreamFile.php
index 0a8309f142c4..8acbf9d60602 100644
--- a/includes/StreamFile.php
+++ b/includes/StreamFile.php
@@ -6,7 +6,10 @@
*/
class StreamFile {
/**
- * Stream a file to the browser, adding all the headings and fun stuff
+ * Stream a file to the browser, adding all the headings and fun stuff.
+ * Headers sent include: Content-type, Content-Length, Last-Modified,
+ * and Content-Disposition.
+ *
* @param $fname string Full name and path of the file to stream
* @param $headers array Any additional headers to send
* @param $sendErrors bool Send error messages if errors occur (like 404)