Use lowercase only for headers

This commit is contained in:
Cadence Ember 2021-01-20 22:59:54 +13:00
parent c837828a22
commit 6c2b67fb6f
No known key found for this signature in database
GPG Key ID: BC1C2C61CF521B17
1 changed files with 1 additions and 1 deletions

View File

@ -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):