code: def response(cls, dic, status=200):
          
          response = JsonResponse(dic, status=status)
          response['Cache-Control'] = 'no-store'
          response['Pragma'] = 'no-cache'
  
          return response
docs: Create and return a response object.