diff --git a/http-message/Response.php b/http-message/Response.php index 6ea446ac..54e41897 100644 --- a/http-message/Response.php +++ b/http-message/Response.php @@ -25,6 +25,15 @@ class Response implements ResponseInterface protected string $reasonPhrase = ''; + /** + * __construct + */ + public function __construct() + { + $this->stream = new Stream(); + } + + /** * @return int */