def method(self) -> str:
        """
        获取请求方法
        """
        if self._method is None:
            self._method = decode_bytes(self._parser.get_method())
        return self._method
def method ( self ) -> str : if self . _method is None : self . _method = decode_bytes ( self . _parser . get_method ( ) ) return self . _method
获取请求方法