Skip to content

Commit

Permalink
Merge pull request #245 from rupurt/return-response-from-stream-request
Browse files Browse the repository at this point in the history
return response instead of raw for stream requests
  • Loading branch information
t1m0thyj authored Jan 4, 2024
2 parents 8c9580a + a1770cb commit 6678663
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ All notable changes to the Zowe Client Python SDK will be documented in this fil
### Bug Fixes

- Fixed 'create_data_set' to accept "FBA", "FBM", "VBA", "VBM" as valid recfm [#240](https://github.com/zowe/zowe-client-python-sdk/issues/240)
- Return response instead of raw from streamed requests

## `1.0.0-dev12`

Expand Down
2 changes: 1 addition & 1 deletion src/core/zowe/core_for_zowe_sdk/request_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 6678663

Please sign in to comment.