public function seeHttpHeaderOnce($name)
    {
        $headers = $this->getRunningClient()->getInternalResponse()->getHeader($name, false);
        $this->assertCount(1, $headers);
    }
public function seeHttpHeaderOnce($name)
    {
        $headers = $this->getRunningClient()->getInternalResponse()->getHeader($name, false);
        $this->assertCount(1, $headers);
    }
public function seeHttpHeaderOnce ( $ name ) { $ headers = $ this -> getRunningClient ( ) -> getInternalResponse ( ) -> getHeader ( $ name , false ) ; $ this -> assertCount ( 1 , $ headers ) ; }
Checks that http response header is received only once.
HTTP RFC2616 allows multiple response headers with the same name.
You can check that you didn't accidentally sent the same header twice.

``` php
<?php
$I->seeHttpHeaderOnce('Cache-Control');
?>>
```

@param $name
@part json
@part xml
Checks that http response header is received only once . HTTP RFC2616 allows multiple response headers with the same name . You can check that you didn t accidentally sent the same header twice .