Skip to content

Commit

Permalink
MDL-49669 badges: Add comment to explain CURLOPT_POSTREDIR
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Mar 31, 2015
1 parent 59784e6 commit e2c7ed7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions badges/lib/backpacklib.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public function curl_request($action, $collection = null) {
'FORBID_REUSE' => true,
'HEADER' => 0,
'CONNECTTIMEOUT' => 3,
// Follow redirects with the same type of request when sent 301, or 302 redirects.
'CURLOPT_POSTREDIR' => 3
);

Expand Down

0 comments on commit e2c7ed7

Please sign in to comment.