/** * @return ResponseInterface */ protected function convertResponse(Response $artaxResponse, RequestInterface $request, array $requestOptions) { return new \GuzzleHttp\Psr7\Response($artaxResponse->getStatus(), $artaxResponse->getAllHeaders(), $artaxResponse->getBody(), $artaxResponse->getProtocol(), $artaxResponse->getReason()); }