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

Add CURLINFO_PRIVATE to CurlHelper #285

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

clemherreman
Copy link

Context

This PR adds the handling of CURLINFO_PRIVATE in PHP VCR. This header is used by the symfony/http-client, and make it incompatible with PHP VCR.

There was a previous PR with such a fix (#278) but it was failing for PHP < 7.

What has been done

  • We added support for CURLINFO_PRIVATE

How to test

  • The test harness should handle it.
  • To manually test, use PHP VCR with symfony/http-client

@clemherreman
Copy link
Author

Update: we actually fixed it, instead of a simple workaround.
Also we added a unit test case :)

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.

None yet

1 participant