From 560fd54a563bba6fbf0a4738b6fa033fd24f12a9 Mon Sep 17 00:00:00 2001 From: tom Date: Fri, 4 Jan 2008 14:27:44 -0800 Subject: [PATCH] use GET instead of HEAD --- lib/god/conditions/http_response_code.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/god/conditions/http_response_code.rb b/lib/god/conditions/http_response_code.rb index e14a507..8184153 100644 --- a/lib/god/conditions/http_response_code.rb +++ b/lib/god/conditions/http_response_code.rb @@ -108,7 +108,7 @@ module God Net::HTTP.start(self.host, self.port) do |http| http.read_timeout = self.timeout - response = http.head(self.path) + response = http.get(self.path) end actual_response_code = response.code.to_i -- 2.11.4.GIT