MDL-39461 badges: Fix cURL expectation failed error when trying to connect to backpack

This commit is contained in:
Yuliya Bozhko 2013-07-23 08:21:04 +12:00
parent ffc3f5308b
commit 3752d8236d

View File

@ -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,
);