mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-49669 badges: Add comment to explain CURLOPT_POSTREDIR
This commit is contained in:
parent
59784e6cdf
commit
e2c7ed7459
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue