Skip to content

Faraday's env#stream_reaponse? may be undefined in old Faradays #53

@olleolleolle

Description

@olleolleolle

https://lostisland.github.io/faraday/#/adapters/custom/streaming This feature of Faraday was introduced at some point, but this gem does not pin to a any specific Faraday version.

Perhaps this adapter could sniff whether the streaming response methods were available, to avoid failure on old Faradays. Or some other solution. I'll link to someone's experience in a comment. Here: github-changelog-generator/github-changelog-generator#1056 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions