Skip to content

Streaming Responses Don't Stream #1380

@AK2000

Description

@AK2000

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions