summaryrefslogtreecommitdiff
path: root/lib/rbot
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-10-29 20:49:23 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-10-29 20:49:23 +0000
commitd13b243cc44db46515112a8d96e0ff7f55409a96 (patch)
treef1f45de386c09ee288b1517307553a43de9980d0 /lib/rbot
parent34fa3a625fb63e927de8fd11769ced3c4d9cc83b (diff)
httputil: inform the servers we also accept deflate
Diffstat (limited to 'lib/rbot')
-rw-r--r--lib/rbot/core/utils/httputil.rb2
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/)"
}