diff --git a/moulinette/interfaces/api.py b/moulinette/interfaces/api.py index 2665f34d..2d0bed51 100644 --- a/moulinette/interfaces/api.py +++ b/moulinette/interfaces/api.py @@ -579,7 +579,7 @@ class Interface(BaseInterface): """ def __init__(self, actionsmap, routes={}): # TODO: Return OK to 'OPTIONS' xhr requests (l173) - app = Bottle(autojson=False) + app = Bottle(autojson=True) ## Wrapper which sets proper header def apiheader(callback):