MDL-49669 badges: Add comment to explain CURLOPT_POSTREDIR

This commit is contained in:
Andrew Nicols 2015-03-31 12:19:05 +08:00
parent 59784e6cdf
commit e2c7ed7459

View file

@ -66,6 +66,7 @@ class OpenBadgesBackpackHandler {
'FORBID_REUSE' => true, 'FORBID_REUSE' => true,
'HEADER' => 0, 'HEADER' => 0,
'CONNECTTIMEOUT' => 3, 'CONNECTTIMEOUT' => 3,
// Follow redirects with the same type of request when sent 301, or 302 redirects.
'CURLOPT_POSTREDIR' => 3 'CURLOPT_POSTREDIR' => 3
); );