1
1
Fork 0

Fix HTTP Client redirect Bug

This commit is contained in:
Philipp Holzer 2022-07-12 20:09:18 +02:00
parent 83a16ac114
commit 8e547510a0
Signed by: nupplaPhil
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