async-http-faraday
async-http-faraday copied to clipboard
Faraday's env#stream_reaponse? may be undefined in old Faradays
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: https://github.com/github-changelog-generator/github-changelog-generator/issues/1056#issuecomment-2749934572
I'd be fine with feature sniffing.