This commit is contained in:
2020-09-17 13:56:57 +08:00
parent 06ba4acd51
commit 6f8e024fae
11 changed files with 77 additions and 64 deletions
+1 -2
View File
@@ -321,8 +321,7 @@ class Request extends Application
*/
public function getMethod()
{
$head = $this->headers->getHeader('request_method');
return strtolower($head);
return strtolower($this->headers->getHeader('request_method'));
}
/**