In globus_sdk.BaseClient.request streaming is given as an a option, but when the GlobusHTTPResponse is created, the __init__ method by default calls response.json() which will wait till a streaming response closes before returning. If the json is not fetched until _parsed_json is called or data is called, this would fix the problem and allow a user to use the streaming of the _raw_response.
In
globus_sdk.BaseClient.requeststreaming is given as an a option, but when the GlobusHTTPResponse is created, the__init__method by default callsresponse.json()which will wait till a streaming response closes before returning. If the json is not fetched until_parsed_jsonis called ordatais called, this would fix the problem and allow a user to use the streaming of the_raw_response.