Sets the HTTP header to the passed value - which is used on
subsequent HTTP requests through PhpBrowser.
Example:
php
setHeader('X-Requested-With', 'Codeception');
$I->amOnPage('test-headers.php');
?>
See also:
Codeception\Lib\InnerBrowser::haveHttpHeader()