改名
This commit is contained in:
@@ -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'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user