|  | @@ -308,6 +308,9 @@ bool cmCTestSubmitHandler::SubmitUsingHTTP(
 | 
	
		
			
				|  |  |        // specify target
 | 
	
		
			
				|  |  |        ::curl_easy_setopt(curl, CURLOPT_URL, upload_as.c_str());
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +      // follow redirects
 | 
	
		
			
				|  |  | +      ::curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |        // CURLAUTH_BASIC is default, and here we allow additional methods,
 | 
	
		
			
				|  |  |        // including more secure ones
 | 
	
		
			
				|  |  |        ::curl_easy_setopt(curl, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
 |