mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 13:35:54 +00:00
do not follow redirects
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user