Fix HTTP Client redirect Bug

This commit is contained in:
Philipp 2022-07-12 20:09:18 +02:00
parent 83a16ac114
commit 8e547510a0
No known key found for this signature in database
GPG Key ID: 24A7501396EB5432

View File

@ -94,11 +94,11 @@ class HttpClient extends BaseFactory
$guzzle = new GuzzleHttp\Client([
RequestOptions::ALLOW_REDIRECTS => [
'max' => 8,
'on_redirect' => $onRedirect,
'track_redirect' => true,
'strict' => true,
'referer' => true,
'max' => 8,
'on_redirect' => $onRedirect,
'track_redirects' => true,
'strict' => true,
'referer' => true,
],
RequestOptions::HTTP_ERRORS => false,
// Without this setting it seems as if some webservers send compressed content