From 6c2b67fb6fdd6f19d9645aea5ab084e98e95230a Mon Sep 17 00:00:00 2001 From: Cadence Ember Date: Wed, 20 Jan 2021 22:59:54 +1300 Subject: [PATCH] Use lowercase only for headers --- index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.py b/index.py index 02ba194..4709966 100644 --- a/index.py +++ b/index.py @@ -11,7 +11,7 @@ from extractors.captions import extract_captions @cherrypy.tools.register("before_finalize", priority=60) def custom_headers(): - cherrypy.response.headers["Access-Control-Allow-Origin"] = "*" + cherrypy.response.headers["access-control-allow-origin"] = "*" class Second(object): def _cp_dispatch(self, vpath):