-
-
Notifications
You must be signed in to change notification settings - Fork 497
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix on_body issue for Typhoeus w/ code style changes #656
Conversation
This spec is failing:
But it's failing in master too. |
Thanks for your PR. |
@mcfiredrill why wouldn't you keep it? Typhoeus is a wrapper of libcurl, which probably is the most widely-used HTTP client across different languages and platforms. The comment you've referenced is talking specifically about dropping I've used the code in this pull request and have been able to record the cassette successfully. |
@ikapelyukhin I'm OK to merge this but any idea why the build is failing? |
@mcfiredrill I'm not sure. As I've mentioned -- the same spec seems to fail in master as well (that's why I haven't looked into it). |
@ikapelyukhin I will try to get master passing |
I've fixed a couple of other issues:
|
@mcfiredrill I've fixed the issue with the broken Faraday spec in #657. |
- Made sure that on_body callback to record the cassette is invoked first, otherwise if there's a callback before it that returns :abort then the body will not be recorded - Will now invoke on_header and on_body callbacks when playing back the cassette
8f5d151
to
2ecef09
Compare
Rebased the branch, let's see if any tests flicker again. |
@mcfiredrill All green! |
Looking good, thanks for your work! |
@mcfiredrill no problem. Any plans for the next version release? |
We've been due for one for a bit, I will get to releasing 4.0 as soon as I can. 🙇 |
BTW I had a TODO list for 4.0 but I think everything is basically done. |
Sounds good! 👍 |
@mcfiredrill any word on 4.0 release? Need a hand with anything, maybe? 😬 |
Followed style of vcr#656 for Typhoeus.
Followed style of vcr#656 for Typhoeus.
Followed style of #656 for Typhoeus.
#614 with the requested code style changes. Addresses #509.