Add --head to curl to speedup audit
This commit is contained in:
		
							parent
							
								
									e363889d27
								
							
						
					
					
						commit
						b2abc0b3ab
					
				@ -318,7 +318,7 @@ module Hbc
 | 
			
		||||
      curl_executable, *args = curl_args(
 | 
			
		||||
        "--compressed", "--location", "--fail",
 | 
			
		||||
        "--write-out", "%{http_code} %{url_effective}",
 | 
			
		||||
        "--output", "/dev/null",
 | 
			
		||||
        "--output", "/dev/null", "--head",
 | 
			
		||||
        url_to_access,
 | 
			
		||||
        user_agent: :fake
 | 
			
		||||
      )
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user