From d13b243cc44db46515112a8d96e0ff7f55409a96 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Mon, 29 Oct 2007 20:49:23 +0000 Subject: [PATCH] httputil: inform the servers we also accept deflate --- lib/rbot/core/utils/httputil.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/)" } -- 2.39.2