? boost-debug.patch
Index: boost.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/boost/boost.module,v
retrieving revision 1.3.2.2.2.5.2.207
diff -u -p -r1.3.2.2.2.5.2.207 boost.module
--- boost.module	28 Oct 2009 04:25:04 -0000	1.3.2.2.2.5.2.207
+++ boost.module	28 Oct 2009 21:26:04 -0000
@@ -1080,6 +1080,8 @@ function _boost_ob_handler() {
   if (!empty($buffer)) {
     $status = boost_get_http_status();
     $types = boost_get_content_type();
+    watchdog('boost', 'Debug: ' . $status . ' - ' . implode(', ', $types) . ' - ' .  boost_file_path($GLOBALS['_boost_path']));
+    $types = array_pop($types);
     if (stristr($types, 'text/javascript')) {
       if ($status == 200 & $GLOBALS['_boost_cache_this']) {
         if (BOOST_ASYNCHRONOUS_OUTPUT) {
@@ -1146,7 +1148,7 @@ function boost_get_content_type() {
   foreach ($headers as $header) {
     $types[] = array_shift(explode('; charset=', array_shift(explode('\n', $header))));
   }
-  return array_pop(array_filter($types));
+  return array_filter($types);
 }
 
 /**
