mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-38268 files: Must be explicit about switching cURL request method from HEAD to GET.
This commit is contained in:
parent
cce0d9a100
commit
2e667c7405
@ -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)
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user