array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'es', ), 'this' => array ( 0 => 'eventhttprequest.removeheader.php', 1 => 'EventHttpRequest::removeHeader', ), 'up' => array ( 0 => 'class.eventhttprequest.php', 1 => 'EventHttpRequest', ), 'prev' => array ( 0 => 'eventhttprequest.geturi.php', 1 => 'EventHttpRequest::getUri', ), 'next' => array ( 0 => 'eventhttprequest.senderror.php', 1 => 'EventHttpRequest::sendError', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/event/eventhttprequest/removeheader.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL event >= 1.4.0-beta)
EventHttpRequest::removeHeader — Removes an HTTP header from the headers of the request
Removes an HTTP header from the headers of the request.
key
The header name.
type
type
is one of
EventHttpRequest::*_HEADER
constants.
Removes an HTTP header from the headers of the request.