public function haveHttpHeader($name, $value)
    {
        $name = implode('-', array_map('ucfirst', explode('-', strtolower(str_replace('_', '-', $name)))));
        $this->headers[$name] = $value;
    }
public function haveHttpHeader($name, $value)
    {
        $name = implode('-', array_map('ucfirst', explode('-', strtolower(str_replace('_', '-', $name)))));
        $this->headers[$name] = $value;
    }
public function haveHttpHeader ( $ name , $ value ) { $ name = implode ( '-' , array_map ( 'ucfirst' , explode ( '-' , strtolower ( str_replace ( '_' , '-' , $ name ) ) ) ) ) ; $ this -> headers [ $ name ] = $ value ; }
Sets the HTTP header to the passed value - which is used on
subsequent HTTP requests through PhpBrowser.

Example:
```php
<?php
$I->haveHttpHeader('X-Requested-With', 'Codeception');
$I->amOnPage('test-headers.php');
?>
```

To use special chars in Header Key use HTML Character Entities:
Example:
Header with underscore - 'Client_Id'
should be represented as - 'Client&#x0005F;Id' or 'Client&#95;Id'

```php
<?php
$I->haveHttpHeader('Client&#95;Id', 'Codeception');
?>
```

@param string $name the name of the request header
@param string $value the value to set it to for subsequent
requests
Sets the HTTP header to the passed value - which is used on subsequent HTTP requests through PhpBrowser .