Skip to content

fix(core): Handle nil response in on_data callback for Faraday streaming#24235

Merged
aandreassa merged 2 commits intomainfrom
frd-on-data
Sep 9, 2025
Merged

fix(core): Handle nil response in on_data callback for Faraday streaming#24235
aandreassa merged 2 commits intomainfrom
frd-on-data

Conversation

@aandreassa
Copy link
Copy Markdown
Contributor

@aandreassa aandreassa commented Sep 8, 2025

Related to cdf6281#diff-81af43dded9cb6b9079107b8c2003553e23df305cfbae8c59ba69407feb09890

Fixes NoMethodError during streaming downloads when using Faraday 2.x with an adapter like typhoeus.

Issue: https://github.com/googleapis/google-cloud-ruby/issues/30902


Tested locally using google-cloud-storage

@aandreassa aandreassa marked this pull request as ready for review September 8, 2025 17:20
@aandreassa aandreassa requested a review from a team September 8, 2025 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants