From 0ed7f169716897418226dedbaa674ab39a209bc3 Mon Sep 17 00:00:00 2001 From: marcus Date: Mon, 10 Nov 2008 18:40:48 +0000 Subject: Content length on images git-svn-id: https://code.elgg.org/elgg/trunk@2435 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/icon.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mod/profile/icon.php') diff --git a/mod/profile/icon.php b/mod/profile/icon.php index 33a5cde7f..2cf857132 100644 --- a/mod/profile/icon.php +++ b/mod/profile/icon.php @@ -46,7 +46,8 @@ header("Content-type: image/jpeg"); header('Expires: ' . date('r',time() + 864000)); header("Pragma: public"); - header("Cache-Control: public"); + header("Cache-Control: public"); + header("Content-Length: " . strlen($contents)); echo $contents; ?> \ No newline at end of file -- cgit v1.2.3