public function getMethod()
    {
        if ($this->method === null) {
            if (is_null($this->method_override)) {
                $this->method = $this->server->get('request-method');
            } else {
                $this->method = $this->method_override;
            }
            $this->method = strtoupper($this->method);
        }
        return $this->method;
    }