modifié: superTornado.py

This commit is contained in:
sidya82 2014-02-28 02:14:04 +01:00
parent 884ab14b45
commit e07de57fb2

View File

@ -75,7 +75,7 @@ class UnauthorizedHandler(BaseHandler):
class AJAXHandler(BaseHandler):
def get(self):
def post(self):
with open("image/temp.jpg", 'rb') as f:
data = f.read()
self.set_header('Content-type', 'image/jpg')