src/Room11/HTTP/HeadersSet.php
public function clearHeaders($name)
    {
        $ucName = strtoupper($name);
        if (isset($this->ucNames[$ucName])) {
            $name = $this->ucNames[$ucName];
            unset($this->ucNames[$ucName]);
            unset($this->headers[$name]);
        }
    }
public function clearHeaders($name)
    {
        $ucName = strtoupper($name);
        if (isset($this->ucNames[$ucName])) {
            $name = $this->ucNames[$ucName];
            unset($this->ucNames[$ucName]);
            unset($this->headers[$name]);
        }
    }
public function clearHeaders ( $ name ) { $ ucName = strtoupper ( $ name ) ; if ( isset ( $ this -> ucNames [ $ ucName ] ) ) { $ name = $ this -> ucNames [ $ ucName ] ; unset ( $ this -> ucNames [ $ ucName ] ) ; unset ( $ this -> headers [ $ name ] ) ; } }
Remove all entries for a particular header name
@param $name
Remove all entries for a particular header name