diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-02-21 22:20:52 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-02-21 22:20:52 +0000 |
commit | 04b385de111ff0f8b9fa3fd1b1399c70b2aa87bf (patch) | |
tree | 33349f3db3aefa7881c76a90f350197980ea3bfc /views | |
parent | b8320526845f126c24cbf0287399c9655b6b716d (diff) | |
download | elgg-04b385de111ff0f8b9fa3fd1b1399c70b2aa87bf.tar.gz elgg-04b385de111ff0f8b9fa3fd1b1399c70b2aa87bf.tar.bz2 |
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
Diffstat (limited to 'views')
-rw-r--r-- | views/xml/pageshells/pageshell.php | 3 |
1 files changed, 2 insertions, 1 deletions
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 "<?xml version='1.0' encoding='UTF-8'?>\n"; echo $vars['body'];
\ No newline at end of file |