--- common.inc.orig 2009-02-27 16:51:25.000000000 -0800 +++ common.inc 2009-02-27 16:52:24.000000000 -0800 @@ -556,6 +556,10 @@ function drupal_http_request($url, $head $result->error = $text; } + if ($result->headers['Content-Encoding'] == 'gzip') { + $result->data = gzinflate(substr($result->data,10)); + } + $result->code = $code; return $result; }