summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--itjs.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/itjs.php b/itjs.php
index d8932ed..f0b0deb 100644
--- a/itjs.php
+++ b/itjs.php
@@ -45,7 +45,10 @@ if ($checksum != $_SERVER['HTTP_IF_NONE_MATCH'])
if ($_REQUEST['boot'])
$data .= "window.it_boot_init();";
- echo itjs::strip($data);
+ $data = itjs::strip($data);
+
+ header("Content-Length: " . strlen($data));
+ echo $data;
}
else
header("HTTP/1.0 304 Not Modified");