-
Notifications
You must be signed in to change notification settings - Fork 92
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
Pact-PHP <=9.x.x - setRequestFilter doesn't seem to append anything to the request #196
Comments
@mattias-persson I will have a look ASAP - hopefully today in the evening! |
@mattias-persson after some investigation on your problem, it seems related to the guzzle dependency. |
@siad007 Appreciate it! |
Any updates on this issue? I facing the same problem on this. |
@ALTELMA , as said007 mentioned, it's a Guzzle bug. If you want to explore updating the Guzzle versions to see if it helps your issue, we accept pull requests. |
@cfmack Thanks for a quick reply. That's means requestFilter never work anymore, right? In my opinion should remove from an example. |
Trying the setRequestFilter feature but it doesn't append any headers in the request. My test looks just like the example in the documentation:
I've been digging around the code a bit and can't see that the
verify
method actually adds any request filters. I've also tried theverify
method and I've tried usingwithAddedHeader
instead ofwithHeader
. Nothing seems to work.@siad007 I saw that you built the feature initially, maybe you have any clues?
The text was updated successfully, but these errors were encountered: