MDL-38268 files: Must be explicit about switching cURL request method from HEAD to GET.

This commit is contained in:
Justin Filip 2013-03-05 11:22:20 -05:00
parent cce0d9a100
commit 2e667c7405

View File

@ -1290,7 +1290,8 @@ function download_file_content($url, $headers=null, $postdata=null, $fullrespons
//reinstate affected curl options
curl_setopt_array ($ch, array(
CURLOPT_RETURNTRANSFER => true,
CURLOPT_NOBODY => false)
CURLOPT_NOBODY => false,
CURLOPT_HTTPGET => true)
);
}