modifié: superTornado.py
This commit is contained in:
parent
0fd6405f4e
commit
ebbce42e93
@ -26,7 +26,7 @@ class BaseHandler(tornado.web.RequestHandler):
|
|||||||
|
|
||||||
class MainHandler(BaseHandler):
|
class MainHandler(BaseHandler):
|
||||||
def get(self):
|
def get(self):
|
||||||
print "-> IP = "
|
print "-> IP = " + self.request.remote_ip
|
||||||
self.render("v/index.html")
|
self.render("v/index.html")
|
||||||
|
|
||||||
def post(self):
|
def post(self):
|
||||||
|
Reference in New Issue
Block a user