From 95098c180da3a5718c259cc24d5542259fad7484 Mon Sep 17 00:00:00 2001 From: Marcel Pociot Date: Mon, 14 Jun 2021 15:25:58 +0200 Subject: [PATCH] do not follow redirects --- app/Client/Http/HttpClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Client/Http/HttpClient.php b/app/Client/Http/HttpClient.php index 0227eea..05ccd3e 100644 --- a/app/Client/Http/HttpClient.php +++ b/app/Client/Http/HttpClient.php @@ -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(),