? boost-302099.patch
Index: boost.admin.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/boost/boost.admin.inc,v
retrieving revision 1.1.2.1.2.3.2.117
diff -u -p -r1.1.2.1.2.3.2.117 boost.admin.inc
--- boost.admin.inc	24 Nov 2009 16:23:39 -0000	1.1.2.1.2.3.2.117
+++ boost.admin.inc	29 Nov 2009 03:24:16 -0000
@@ -1080,7 +1080,7 @@ function boost_admin_generate_htaccess($
     $string .= "\n";
     $string .= "  # Caching for anonymous users\n";
     $string .= "  # Skip boost IF not get request OR uri has wrong dir OR cookie is set OR request came from this server OR https request\n";
-    $string .= "  RewriteCond %{REQUEST_METHOD} !^GET$ [OR]\n";
+    $string .= "  RewriteCond %{REQUEST_METHOD} !^(GET|HEAD)$ [OR]\n";
     $string .= "  RewriteCond %{REQUEST_URI} (^$drupal_subdir(admin|$cache_dir|misc|modules|sites|system|openid|themes|node/add))|(/(comment/reply|edit|user|user/(login|password|register))$) [OR]\n";
     $string .= "  RewriteCond %{HTTP_COOKIE} DRUPAL_UID [OR]\n";
     $string .= BOOST_LOOPBACK_BYPASS && BOOST_OVERWRITE_FILE ? "  RewriteCond %{REMOTE_ADDR} ^$server_ip$ [OR]\n" : '';
Index: boost.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/boost/boost.module,v
retrieving revision 1.3.2.2.2.5.2.262
diff -u -p -r1.3.2.2.2.5.2.262 boost.module
--- boost.module	28 Nov 2009 07:59:34 -0000	1.3.2.2.2.5.2.262
+++ boost.module	29 Nov 2009 03:24:18 -0000
@@ -220,6 +220,7 @@ function boost_init() {
   if (   strpos($_SERVER['SCRIPT_FILENAME'], 'index.php') === FALSE
       || variable_get('site_offline', 0)
       || $_SERVER['REQUEST_METHOD'] != 'GET'
+      || $_SERVER['REQUEST_METHOD'] != 'HEAD'
       || $_SERVER['SERVER_SOFTWARE'] === 'PHP CLI'
       || !BOOST_ENABLED
       || !boost_is_cacheable($GLOBALS['_boost_path'])
@@ -944,6 +945,7 @@ function boost_block($op = 'list', $delt
           if (!( strpos($_SERVER['SCRIPT_FILENAME'], 'index.php') === FALSE
               || variable_get('site_offline', 0)
               || $_SERVER['REQUEST_METHOD'] != 'GET'
+              || $_SERVER['REQUEST_METHOD'] != 'HEAD'
               || $_SERVER['SERVER_SOFTWARE'] === 'PHP CLI'
               || !BOOST_ENABLED
               || isset($_GET['nocache'])
Index: htaccess/boosted1.txt
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/boost/htaccess/Attic/boosted1.txt,v
retrieving revision 1.1.2.20
diff -u -p -r1.1.2.20 boosted1.txt
--- htaccess/boosted1.txt	18 Nov 2009 23:37:37 -0000	1.1.2.20
+++ htaccess/boosted1.txt	29 Nov 2009 03:24:18 -0000
@@ -47,7 +47,7 @@
 
   # Caching for anonymous users
   # Skip boost IF not get request OR uri has wrong dir OR cookie is set OR https request
-  RewriteCond %{REQUEST_METHOD} !^GET$ [OR]
+  RewriteCond %{REQUEST_METHOD} !^(GET|HEAD)$ [OR]
   RewriteCond %{REQUEST_URI} (^/(admin|cache|misc|modules|sites|system|openid|themes|node/add))|(/(comment/reply|edit|user|user/(login|password|register))$) [OR]
   RewriteCond %{HTTP_COOKIE} DRUPAL_UID [OR]
   RewriteCond %{HTTPS} on
Index: htaccess/boosted2.txt
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/boost/htaccess/Attic/boosted2.txt,v
retrieving revision 1.1.2.21
diff -u -p -r1.1.2.21 boosted2.txt
--- htaccess/boosted2.txt	18 Nov 2009 23:37:37 -0000	1.1.2.21
+++ htaccess/boosted2.txt	29 Nov 2009 03:24:18 -0000
@@ -47,7 +47,7 @@
 
   # Caching for anonymous users
   # Skip boost IF not get request OR uri has wrong dir OR cookie is set OR https request
-  RewriteCond %{REQUEST_METHOD} !^GET$ [OR]
+  RewriteCond %{REQUEST_METHOD} !^(GET|HEAD)$ [OR]
   RewriteCond %{REQUEST_URI} (^/(admin|cache|misc|modules|sites|system|openid|themes|node/add))|(/(comment/reply|edit|user|user/(login|password|register))$) [OR]
   RewriteCond %{HTTP_COOKIE} DRUPAL_UID [OR]
   RewriteCond %{HTTPS} on
