lib/zold/http.rb in zold-0.11.11 vs lib/zold/http.rb in zold-0.11.12

- old
+ new

@@ -96,10 +96,11 @@ end def headers headers = { 'User-Agent': "Zold #{VERSION}", - 'Connection': 'close' + 'Connection': 'close', + 'Accept-Encoding': 'gzip' } headers[Http::VERSION_HEADER] = VERSION headers[Http::SCORE_HEADER] = @score.reduced(4).to_text if @score.valid? && !@score.expired? && @score.value > 3 headers end