src/DrupalExtension/Context/DrupalContext.php
public function iShouldSeeInTheHeader($header, $value) {
    $headers = $this->getSession()->getResponseHeaders();
    if ($headers[$header] != $value) {
      throw new \Exception(sprintf("Did not see %s with value %s.", $header, $value));
    }
  }
public function iShouldSeeInTheHeader($header, $value) {
    $headers = $this->getSession()->getResponseHeaders();
    if ($headers[$header] != $value) {
      throw new \Exception(sprintf("Did not see %s with value %s.", $header, $value));
    }
  }
public function iShouldSeeInTheHeader ( $ header , $ value ) { $ headers = $ this -> getSession ( ) -> getResponseHeaders ( ) ; if ( $ headers [ $ header ] != $ value ) { throw new \ Exception ( sprintf ( "Did not see %s with value %s." , $ header , $ value ) ) ; } }
Assert string in HTTP response header.

@Then I should see in the header :header::value
Assert string in HTTP response header .