Use lowercase only for headers
This commit is contained in:
parent
c837828a22
commit
6c2b67fb6f
2
index.py
2
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):
|
||||
|
|
Loading…
Reference in New Issue