From 79678cb109cd7eb6d7458a0e1f5b11ba8a516fcd Mon Sep 17 00:00:00 2001 From: Baptiste Fontaine Date: Sun, 2 Aug 2015 10:50:39 +0200 Subject: [PATCH] online audit: use GET instead of HEAD I also removed the `-L` flag which is already present in `HOMEBREW_CURL_ARGS`. Closes Homebrew/homebrew#42352. Signed-off-by: Baptiste Fontaine --- Library/Homebrew/cmd/audit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 1a09bee07a..9e70b73d45 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -434,7 +434,7 @@ class FormulaAuditor return unless @online begin - nostdout { curl "--connect-timeout", "15", "-IL", "-o", "/dev/null", homepage } + nostdout { curl "--connect-timeout", "15", "-o", "/dev/null", homepage } rescue ErrorDuringExecution problem "The homepage is not reachable (curl exit code #{$?.exitstatus})" end