]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
httputil: inform the servers we also accept deflate
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Mon, 29 Oct 2007 20:49:23 +0000 (20:49 +0000)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Mon, 29 Oct 2007 20:49:23 +0000 (20:49 +0000)
lib/rbot/core/utils/httputil.rb

index dc3b6b99d7e882a6fb3e38759b695f1768301513..3f297345ebfa96bfd35b5f773d8fa3a41e790a83 100644 (file)
@@ -277,7 +277,7 @@ class HttpUtil
     @cache = Hash.new
     @headers = {
       'Accept-Charset' => 'utf-8;q=1.0, *;q=0.8',
-      'Accept-Encoding' => 'gzip;q=1, identity;q=0.8, *;q=0.2',
+      'Accept-Encoding' => 'gzip;q=1, deflate;q=1, identity;q=0.8, *;q=0.2',
       'User-Agent' =>
         "rbot http util #{$version} (http://linuxbrit.co.uk/rbot/)"
     }