From fff02ee7d5fc98323b64a0eb6732c7a70271e3da Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 5 Jan 2012 01:33:58 +0000 Subject: [PATCH] Added a bit to StreamFile docs --- includes/StreamFile.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/includes/StreamFile.php b/includes/StreamFile.php index 0a8309f142..8acbf9d606 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) -- 2.20.1