Merge branch 'MDL-39461_dev' of https://github.com/totara/openbadges
authorSam Hemelryk <sam@moodle.com>
Mon, 29 Jul 2013 20:59:58 +0000 (08:59 +1200)
committerSam Hemelryk <sam@moodle.com>
Mon, 29 Jul 2013 20:59:58 +0000 (08:59 +1200)
badges/lib/backpacklib.php

index 58a9b74..4ecf084 100644 (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,
         );