Index: bitcache.server.inc =================================================================== RCS file: /cvs/drupal/contributions/modules/bitcache/bitcache.server.inc,v retrieving revision 1.14 diff -u -r1.14 bitcache.server.inc --- bitcache.server.inc 18 Mar 2009 07:04:05 -0000 1.14 +++ bitcache.server.inc 26 Mar 2009 02:20:29 -0000 @@ -102,7 +102,7 @@ protected function allow($method, $id = NULL) { $method = ($method == 'GET' && !$id) ? 'INDEX' : 'GET'; // TODO: should be handled in base class - $methods = array_filter(variable_get('bitcache_features', array('index', 'get', 'post', 'put', 'delete')), 'is_string'); + $methods = array_filter(variable_get('bitcache_features', array('index' => 'index', 'get' => 'get', 'post' => 'post', 'put' => 'put', 'delete' => 'delete')), 'is_string'); if (($method != 'HEAD' && empty($methods[strtolower($method)])) || ($method == 'HEAD' && empty($methods['get']))) { return FALSE; }