MDL-71741 portfolio: Reset header information between requests
commitda14398a88b90928ea983e581c42412b33f47e1e
authorHuong Nguyen <huongn@moodle.com>
Fri, 28 May 2021 01:55:43 +0000 (28 08:55 +0700)
committerHuong Nguyen <huongn@moodle.com>
Thu, 3 Jun 2021 03:51:16 +0000 (3 10:51 +0700)
tree195a9c074f1c4e58fdb7c1eb7b6dda5c444d5176
parent63a05f4f1f4c88e48dbafdfdee8b364bea48f044
MDL-71741 portfolio: Reset header information between requests

The reset process also removes the CURLFile option in the HTTP object,
which will avoid the serialisation issue on PHP7.4 and upward
lib/flickrclient.php