Fix signature

pull/493/head
Steven Silvester 10 years ago
parent 88c067ff27
commit 1f6a3700a2

@ -19,7 +19,7 @@ class APIHandler(web.StaticFileHandler, IPythonHandler):
return web.StaticFileHandler.get(self, 'api.yaml')
@web.authenticated
def options(self, section_name):
def options(self, *args, **kwargs):
self.set_header('Access-Control-Allow-Headers', 'accept, content-type')
self.set_header('Access-Control-Allow-Methods',
'GET, PUT, POST, PATCH, DELETE, OPTIONS')

Loading…
Cancel
Save