lib/zold/http.rb in zold-0.10.19 vs lib/zold/http.rb in zold-0.10.20
- 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_text if @score.valid? && !@score.expired?
+ headers[Http::SCORE_HEADER] = @score.reduced(4).to_text if @score.valid? && !@score.expired? && @score.value > 3
headers
end
end
end