diff --git a/src/pyipp/ipp.py b/src/pyipp/ipp.py index 49c5ddff..e32dc77a 100644 --- a/src/pyipp/ipp.py +++ b/src/pyipp/ipp.py @@ -187,13 +187,14 @@ async def execute( self, operation: IppOperation, message: dict[str, Any], + contains_data: bool = False, ) -> dict[str, Any]: """Send a request message to the server.""" message = self._message(operation, message) response = await self._request(data=message) try: - parsed = parse_response(response) + parsed = parse_response(response, contains_data) except (structerror, Exception) as exc: # disable=broad-except raise IPPParseError from exc