在python中将URL参数传递给webapp2.RequestHandler会导致';无';

在python中将URL参数传递给webapp2.RequestHandler会导致';无';,python,webapp2,requesthandler,Python,Webapp2,Requesthandler,我有以下web应用程序,它有1个处理程序: class GetHandler(webapp2.RequestHandler): def get(self, name): self.response.headers['Content-Type'] = 'text/plain' self.response.write(name) application = webapp2.WSGIApplication([ (r'/g

我有以下web应用程序,它有1个处理程序:

class GetHandler(webapp2.RequestHandler):
    def get(self, name):
        self.response.headers['Content-Type'] = 'text/plain'
        self.response.write(name)

application = webapp2.WSGIApplication([
                    (r'/get(.)*', GetHandler)
], debug=False)
我正在本地主机端口8080上运行这个应用程序。 我正在浏览器中发送此请求:

http://localhost:8080/get?name=Peter
我得到的结果是:

None
虽然我正在传递一个参数。我希望在传递参数时输出为。 我是不是遗漏了什么?为什么我的处理器不能按预期工作