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