Reset request headers after send#164
Reset request headers after send#164sanpii merged 1 commit intoBehatch:masterfrom vincentchalamon:master
Conversation
|
Ping @sanpii |
|
looks good 👍 |
|
Can you add a scenario to prevent regression? |
|
@sanpii OK I'm on it. Do you have an idea how can I test with different Behat configurations? I would like to test with different clients (Goutte vs BrowserKit) |
|
@vincentchalamon you can create a second behat configuration and use |
|
Why can't we create new instance of Sanpi\Behatch\HttpCall\Request each time it is requested ? |
|
@samusenkoiv You mean in |
|
@samusenkoiv Originally, |
|
Need this fix! |
|
Still waiting for FriendsOfPHP/Goutte#261 |
This PR was squashed before being merged into the 3.1-dev branch (closes #261). Discussion ---------- Reset headers Required by Behatch/contexts#164 See Behatch/contexts#163 Commits ------- 08724f1 Reset headers
|
@sanpii @webaaz Current project requires PHP >=5.4, but fabpot/goutte requires PHP >=5.5. Can I upgrade this dependency in |
|
There's a 3.2 tag for goutte |
|
Scrutinizer failed to analyze |
|
Is there still anything preventing this fix from getting merged? This would also make PR #157 obsolete (which we currently use in our fork). |
|
@vincentchalamon would you mind rebasing your branch against master and solve the conflict again? It would be really great to get this PR merged :) |
|
@elkangaroo Fixed |
|
@sanpii I see that the only failing test has been failing occasionally on other builds too (and should probably be adjusted, because it makes the build unstable): But other than that, do you think this PR can be merged? |
|
@elkangaroo I'll try to update this PR today to remove deprecated warnings: https://travis-ci.org/Behatch/contexts/jobs/217980052 |
|
@elkangaroo @sanpii Deprecated warnings fixed on Travis, I think it was due to forgotten namespaces on 86d0b77. |
|
Nice :) |
It sucks less now: c9ec184 |
|
Ping @sanpii |
|
Any update here? FriendsOfPHP/Goutte#261 is merged. |
|
@vincentchalamon @sanpii can you please add a new release tag? |


Requires FriendsOfPHP/Goutte#261