diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-10-29 20:49:23 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-10-29 20:49:23 +0000 |
commit | d13b243cc44db46515112a8d96e0ff7f55409a96 (patch) | |
tree | f1f45de386c09ee288b1517307553a43de9980d0 | |
parent | 34fa3a625fb63e927de8fd11769ced3c4d9cc83b (diff) |
httputil: inform the servers we also accept deflate
-rw-r--r-- | lib/rbot/core/utils/httputil.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/core/utils/httputil.rb b/lib/rbot/core/utils/httputil.rb index dc3b6b99..3f297345 100644 --- a/lib/rbot/core/utils/httputil.rb +++ b/lib/rbot/core/utils/httputil.rb @@ -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/)" } |