From 04b385de111ff0f8b9fa3fd1b1399c70b2aa87bf Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 21 Feb 2010 22:20:52 +0000 Subject: Fixes #1517 - let web server set content length on xml files git-svn-id: http://code.elgg.org/elgg/trunk@3963 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/xml/pageshells/pageshell.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/views/xml/pageshells/pageshell.php b/views/xml/pageshells/pageshell.php index 8dc8f311c..ed7cb13f3 100644 --- a/views/xml/pageshells/pageshell.php +++ b/views/xml/pageshells/pageshell.php @@ -10,6 +10,7 @@ */ header("Content-Type: text/xml"); -header("Content-Length: " . strlen($vars['body'])); +// web server will handle setting the content length +//header("Content-Length: " . strlen($vars['body'])); echo "\n"; echo $vars['body']; \ No newline at end of file -- cgit v1.2.3