|
RequestHandler.__init__(self, application, request, **kwargs)
|
|
RequestHandler.__init__(self, application, request, **kwargs)
|
|
self.set_header('Content-Type', 'application/json')
|
|
self.set_header('Content-Type', 'application/json')
|
|
self.set_header("Access-Control-Allow-Methods", "GET,PUT,POST,DELETE,OPTIONS")
|
|
self.set_header("Access-Control-Allow-Methods", "GET,PUT,POST,DELETE,OPTIONS")
|
|
self.set_header("Access-Control-Allow-Headers", "Content-Type, Depth, User-Agent, Token, Origin, X-Requested-With, Accept, Authorization, admin_id")
|
|
self.set_header("Access-Control-Allow-Headers", "Content-Type, Depth, User-Agent, Token, Origin, X-Requested-With, Accept, Authorization, admin_id")
|