mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-17 07:25: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)
|
protected function sendRequestToApplication(RequestInterface $request, $proxyConnection = null)
|
||||||
{
|
{
|
||||||
(new Browser($this->loop, $this->createConnector()))
|
(new Browser($this->loop, $this->createConnector()))
|
||||||
->withFollowRedirects(true)
|
->withFollowRedirects(false)
|
||||||
->withRejectErrorResponse(false)
|
->withRejectErrorResponse(false)
|
||||||
->requestStreaming(
|
->requestStreaming(
|
||||||
$request->getMethod(),
|
$request->getMethod(),
|
||||||
|
|||||||
Reference in New Issue
Block a user