diff --git a/http-handler/Client/ClientAbstracts.php b/http-handler/Client/ClientAbstracts.php index f4d926b4..5ea6be76 100644 --- a/http-handler/Client/ClientAbstracts.php +++ b/http-handler/Client/ClientAbstracts.php @@ -406,6 +406,9 @@ abstract class ClientAbstracts extends Component implements IClient */ public function getData(): StreamInterface { + if (!$this->_data) { + $this->_data = new Stream(); + } return $this->_data; }