diff --git a/src/Pecee/Http/Request.php b/src/Pecee/Http/Request.php index 584dbab..839ec96 100644 --- a/src/Pecee/Http/Request.php +++ b/src/Pecee/Http/Request.php @@ -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()