Merge pull request #184 from skipperbent/v2-development

Fixed Exception when using Request
This commit is contained in:
Simon Sessingø
2016-11-25 03:05:17 +02:00
committed by GitHub
+1 -1
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()