includes/functions.php
changeset 1283 cdbc7f48ab72
parent 1266 f3933b355229
child 1295 3c9c1b18567b
child 1299 29601ba3c448
--- a/includes/functions.php	Sat Jul 31 11:46:53 2010 -0400
+++ b/includes/functions.php	Sat Jul 31 14:12:56 2010 -0400
@@ -3296,10 +3296,12 @@
 		if ( $return )
 		{
 			header('Content-encoding: gzip');
+			header('Content-length: ' . strlen($return));
 			echo $return;
 		}
 		else
 		{
+			header('Content-length: ' . strlen($gzip_contents));
 			echo $gzip_contents;
 		}
 	}