public function getRequired($key)
    {
        $key = $this->normalizeKey($key);
        if(!$this->existsNormalized($key)) {
            throw new \PHPixie\HTTP\Exception("server variable '$key' is not set");
        }
        
        return $this->server[$key];
    }
public function getRequired($key)
    {
        $key = $this->normalizeKey($key);
        if(!$this->existsNormalized($key)) {
            throw new \PHPixie\HTTP\Exception("server variable '$key' is not set");
        }
        
        return $this->server[$key];
    }
public function getRequired ( $ key ) { $ key = $ this -> normalizeKey ( $ key ) ; if ( ! $ this -> existsNormalized ( $ key ) ) { throw new \ PHPixie \ HTTP \ Exception ( "server variable '$key' is not set" ) ; } return $ this -> server [ $ key ] ; }
Get value, or if missing throw an exception
@param string $key
@return string
@throws \PHPixie\HTTP\Exception
Get value or if missing throw an exception