Fix HTTP Client redirect Bug
This commit is contained in:
parent
83a16ac114
commit
8e547510a0
1 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue