Esempio n. 1
0
 def PUT(self, req):
   responseData = {}
   responseData['method'] = sys._getframe().f_code.co_name
   return JsonResponse( self.reflectAll(req, responseData, includeStream=True) )
Esempio n. 2
0
 def OPTIONS(self, req):
   responseData = {}
   responseData['method'] = sys._getframe().f_code.co_name
   return JsonResponse( self.reflectAll(req, responseData) )
Esempio n. 3
0
 def POST(self, req):
     return JsonResponse({'Hello': 'World'})