_method is not supported as fallback for every request-type.

This commit is contained in:
Simon Sessingo
2017-12-17 10:37:33 +01:00
parent 72d33dd497
commit f2d106c649
+1 -1
View File
@@ -36,7 +36,7 @@ class Request
$this->setUri(new Uri($this->getHeader('unencoded-url', $this->getHeader('request-uri'))));
$this->input = new Input($this);
$this->method = strtolower($this->input->get('_method', $this->getHeader('request-method'), 'post'));
$this->method = strtolower($this->input->get('_method', $this->getHeader('request-method')));
}
protected function parseHeaders()