-
Notifications
You must be signed in to change notification settings - Fork 12
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
Somehow make redirects work #267
Labels
Comments
Closed
Ruby vcr just records all requests when there's a redirect, then matching works just fine. Should be doable ? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This works fine,
But then any subsequent run of the same code block
absofrutely does not work because
https://google.com
redirects tohttps://www.google.com
, and thehttps://www.google.com
is what's stored in the cassette.Probably (question mark?) best to capture this and warn the user. Given that we're capturing the requests/responses anyway, I think it would be easy enough to warn if there's either a 301 or similar code, and then tell the user to probably update their request with the new url
🤔 🤔 🤔
The text was updated successfully, but these errors were encountered: