public function getRequiredLines($name)
    {
        $name = $this->normalizeName($name);
        
        if(!$this->existsNormalized($name)) {
            throw new \PHPixie\HTTP\Exception("Header '$name' is not set");
        }
        
        return $this->headers[$name];
    }
public function getRequiredLines($name)
    {
        $name = $this->normalizeName($name);
        
        if(!$this->existsNormalized($name)) {
            throw new \PHPixie\HTTP\Exception("Header '$name' is not set");
        }
        
        return $this->headers[$name];
    }
public function getRequiredLines ( $ name ) { $ name = $ this -> normalizeName ( $ name ) ; if ( ! $ this -> existsNormalized ( $ name ) ) { throw new \ PHPixie \ HTTP \ Exception ( "Header '$name' is not set" ) ; } return $ this -> headers [ $ name ] ; }
Get header lines, or if missing throw an exception
@param string $name
@return array
@throws \PHPixie\HTTP\Exception
Get header lines or if missing throw an exception