do not follow redirects

This commit is contained in:
Marcel Pociot committed 2021-06-14 15:25:58 +02:00
1 parent 6ffd5274b3
commit 95098c180d
1 file changed
+1 -1
+1 -1
View File
@@ -86,7 +86,7 @@ class HttpClient
protected function sendRequestToApplication(RequestInterface $request, $proxyConnection = null)
{
(new Browser($this->loop, $this->createConnector()))
->withFollowRedirects(true)
->withFollowRedirects(false)
->withRejectErrorResponse(false)
->requestStreaming(
$request->getMethod(),