lib/zold/http.rb in zold-0.10.12 vs lib/zold/http.rb in zold-0.10.13

- old
+ new

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