function remove($header)
    {
        $normalizer = new HeaderCaseNormalizer();
        $name = $normalizer->normalize($header);

        foreach ($this->_headers as $idx => $header) {
            if ($header->getName() == $name)
                unset($this->_headers[$idx]);
        }

        return $this;
    }
function remove($header)
    {
        $normalizer = new HeaderCaseNormalizer();
        $name = $normalizer->normalize($header);

        foreach ($this->_headers as $idx => $header) {
            if ($header->getName() == $name)
                unset($this->_headers[$idx]);
        }

        return $this;
    }
function remove ( $ header ) { $ normalizer = new HeaderCaseNormalizer ( ) ; $ name = $ normalizer -> normalize ( $ header ) ; foreach ( $ this -> _headers as $ idx => $ header ) { if ( $ header -> getName ( ) == $ name ) unset ( $ this -> _headers [ $ idx ] ) ; } return $ this ; }
Remove a header by name
@chainable
Remove a header by name