| 1 | <?php |
||
| 7 | class Goutte extends BrowserKit |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * headers are no more stored on client, because client does not flush them when reset/restart session. |
||
| 11 | * They are on Behat\Mink\Driver\BrowserKitDriver and there is no way to get them. |
||
| 12 | * |
||
| 13 | * @var array |
||
| 14 | */ |
||
| 15 | private $requestHeaders = []; |
||
| 16 | |||
| 17 | public function send($method, $url, $parameters = [], $files = [], $content = null, $headers = []) |
||
| 26 | |||
| 27 | public function setHttpHeader($name, $value) |
||
| 32 | |||
| 33 | protected function resetHttpHeaders() |
||
| 37 | } |
||
| 38 |