CORS: allow all headers

This commit is contained in:
Marian Steinbach 2018-02-04 22:34:59 +01:00
parent 7371c52ec5
commit 2a602686c2
1 changed files with 2 additions and 1 deletions

View File

@ -30,7 +30,8 @@ handlers = media.Handlers({
'application/json': jsonhandler.JSONHandler(),
})
cors = CORS(allow_all_origins=True)
cors = CORS(allow_all_origins=True,
allow_all_headers=True)
app = falcon.API(middleware=[cors.middleware])