1
0
mirror of https://git.sr.ht/~cadence/NewLeaf synced 2024-11-21 23:27:29 +00:00

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

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