public static function createFromRequest(MessageInterface $request, $content, $statusCode, $headers = []) { return new self($statusCode, $request->getScheme(), $request->getSchemeVersion(), $headers, $content); }