diff --git a/CHANGELOG.md b/CHANGELOG.md index e22157f3..650cc345 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ All notable changes to the Zowe Client Python SDK will be documented in this fil - Fixed `create_data_set` to accept "FBA", "FBM", "VBA", "VBM" as valid recfm [#240](https://github.com/zowe/zowe-client-python-sdk/issues/240) - Fixed an issue with `list_jobs` user correlator parameter [#242](https://github.com/zowe/zowe-client-python-sdk/issues/242) +- Return response instead of raw from streamed requests [#245](https://github.com/zowe/zowe-client-python-sdk/pull/245) ## `1.0.0-dev12` diff --git a/src/core/zowe/core_for_zowe_sdk/request_handler.py b/src/core/zowe/core_for_zowe_sdk/request_handler.py index adb271e0..062bfd02 100644 --- a/src/core/zowe/core_for_zowe_sdk/request_handler.py +++ b/src/core/zowe/core_for_zowe_sdk/request_handler.py @@ -93,7 +93,7 @@ def perform_streamed_request(self, method, request_arguments, expected_code=[200 self.__validate_method() self.__send_request(stream=True) self.__validate_response() - return self.response.raw + return self.response def __validate_method(self): """Check if the input request method for the request is supported.