Index: includes/bootstrap.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/bootstrap.inc,v
retrieving revision 1.235
diff -u -p -r1.235 bootstrap.inc
--- includes/bootstrap.inc	12 Oct 2008 08:37:14 -0000	1.235
+++ includes/bootstrap.inc	12 Oct 2008 15:07:46 -0000
@@ -700,6 +700,8 @@ function drupal_page_cache_header($cache
     if (@strpos($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip') === FALSE && function_exists('gzencode')) {
       // Strip the gzip header and run uncompress.
       $cache->data = gzinflate(substr(substr($cache->data, 10), 0, -8));
+      // Send size of the entity-body, in decimal number of octets:
+      header('Content-Length: ' . strlen($cache->data));
     }
     elseif (function_exists('gzencode')) {
       header('Content-Encoding: gzip');
