Beispiel #1
0
 def GET(self, req):
     print '-----into get--------'
     user_info = ['test']
     filepath='/tmp/haha/a.txt'
     fop = FileOp(user_info, filepath, req)
     ret = fop.downloadData()
     print 'into get ----------------'
     
     #return HTTPOk(body ='download over----',content_type='application/json')
     return ret