protected function prepareActionResponse(\Psr\Http\Message\ResponseInterface $httpResponse): ActionResponse
    {
        $rawResponse = implode("\r\n", ResponseInformationHelper::prepareHeaders($httpResponse));
        $rawResponse .= "\r\n\r\n";
        $rawResponse .= $httpResponse->getBody()->getContents();

        return ActionResponse::createFromRaw($rawResponse);
    }