mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-39461 badges: Fix cURL expectation failed error when trying to connect to backpack
This commit is contained in:
parent
ffc3f5308b
commit
3752d8236d
@ -60,10 +60,11 @@ class OpenBadgesBackpackHandler {
|
||||
}
|
||||
|
||||
$options = array(
|
||||
'FRESH_CONNECT' => true,
|
||||
'FRESH_CONNECT' => true,
|
||||
'RETURNTRANSFER' => true,
|
||||
'FORBID_REUSE' => true,
|
||||
'HEADER' => 0,
|
||||
'FORBID_REUSE' => true,
|
||||
'HEADER' => 0,
|
||||
'HTTPHEADER' => array('Expect:'),
|
||||
'CONNECTTIMEOUT' => 3,
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user