Beispiel #1
0
 /**
  * Deletes the header with the passed name.  Subsequent requests
  * will not have the deleted header in its request.
  *
  * Example:
  * ```php
  * <?php
  * $I->setHeader('X-Requested-With', 'Codeception');
  * $I->amOnPage('test-headers.php');
  * // ...
  * $I->deleteHeader('X-Requested-With');
  * $I->amOnPage('some-other-page.php');
  * ?>
  * ```
  * 
  * @param string $name the name of the header to delete.
  */
 public function deleteHeader($name)
 {
     $this->client->deleteHeader($name);
 }