Fixed Exception when using Request

This commit is contained in:
Simon Sessingø
2016-11-25 02:04:42 +01:00
parent e360fb5438
commit 7edee8e6d3

View File

@@ -17,8 +17,8 @@ class Request
$this->parseHeaders();
$this->host = $this->getHeader('http-host');;
$this->uri = $this->getHeader('request-uri');
$this->method = $this->input->get('_method', strtolower($this->getHeader('request-method')));
$this->input = new Input($this);
$this->method = $this->input->get('_method', strtolower($this->getHeader('request-method')));
}
protected function parseHeaders()