You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 20, 2021. It is now read-only.
Behat\Mink\Driver\BrowserKitDriver.php is only passing headers to the client in the visit() method on line 158. When RestContext is bypassing the visit() method (in order to set POST method for instance), then the headers are never passed to the client, thus submitting POST with default headers.
Example: iSendARequestToWithBody
Given I add "Content-Type" header equal to "application/json"
When I send a "POST" request to "api.json" with body:
Actual sent header in this scenario:
Content-Type: application/x-www-form-urlencoded
The text was updated successfully, but these errors were encountered:
Behat\Mink\Driver\BrowserKitDriver.php is only passing headers to the client in the visit() method on line 158. When RestContext is bypassing the visit() method (in order to set POST method for instance), then the headers are never passed to the client, thus submitting POST with default headers.
Example: iSendARequestToWithBody
Actual sent header in this scenario:
The text was updated successfully, but these errors were encountered: