diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-16 11:07:41 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-16 11:07:41 +0000 |
commit | e8f3e129d313b2df95aface5454724951b8b3923 (patch) | |
tree | 055c6b8bfea13110d773f7dfc8166429a0e2db82 /views/xml/pageshells | |
parent | aef2c0bd56406cee6b6e555d67a549c202afc5ad (diff) | |
download | elgg-e8f3e129d313b2df95aface5454724951b8b3923.tar.gz elgg-e8f3e129d313b2df95aface5454724951b8b3923.tar.bz2 |
Added Content-Length to XML pageshell for compatibility with most XML based formats.
git-svn-id: https://code.elgg.org/elgg/trunk@928 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/xml/pageshells')
-rw-r--r-- | views/xml/pageshells/pageshell.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/views/xml/pageshells/pageshell.php b/views/xml/pageshells/pageshell.php index f5c7a4ce0..a7af1b385 100644 --- a/views/xml/pageshells/pageshell.php +++ b/views/xml/pageshells/pageshell.php @@ -12,5 +12,6 @@ */ header("Content-Type: text/xml"); + header("Content-Length: " . strlen($vars['body'])); echo $vars['body']; ?>
\ No newline at end of file |