Skip to content
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

Problem when request and response headers don't match #8

Open
norchow opened this issue Dec 10, 2018 · 1 comment
Open

Problem when request and response headers don't match #8

norchow opened this issue Dec 10, 2018 · 1 comment

Comments

@norchow
Copy link

norchow commented Dec 10, 2018

First of all, thanks for this super useful library.

I'm experiencing an issue. The cassette is never being used (although it is created when requesting without a previous casette).

Is it possible that when there is no casette, the digest is being calculated based on the response instead of the request? but then it checks the hash against the digest of the request.
In my case, headers of the request are different from the response, that's why i think this is the case, but i may be using it in a wrong way.

If you confirm the issue, i can contribute in resolving it.
Thank you

@nettofarah
Copy link
Owner

Hey, @norchow.
It’s been a little while since I last touched this code, but you’re right regarding the headers mismatch.

Feel free to open a PR and tag me as you keep exploring the solution

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

No branches or pull requests

2 participants