? boost-609640.patch
Index: boost.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/boost/boost.module,v
retrieving revision 1.3.2.2.2.5.2.195
diff -u -p -r1.3.2.2.2.5.2.195 boost.module
--- boost.module	18 Oct 2009 23:43:56 -0000	1.3.2.2.2.5.2.195
+++ boost.module	20 Oct 2009 20:26:21 -0000
@@ -1037,7 +1037,7 @@ function _boost_ob_handler() {
   // 200 then remove that entry from the cache.
   if (!empty($buffer)) {
     $status = boost_get_http_status();
-    $types = implode(', ', boost_get_content_type());
+    $types = boost_get_content_type();
     if (stristr($types, 'text/javascript')) {
       if ($status == 200 & $GLOBALS['_boost_cache_this']) {
         if (BOOST_ASYNCHRONOUS_OUTPUT) {
@@ -1104,7 +1104,7 @@ function boost_get_content_type() {
   foreach ($headers as $header) {
     $types[] = array_shift(explode('; charset=', array_shift(explode('\n', $header))));
   }
-  return $types;
+  return array_pop(array_filter($types));
 }
 
 /**
