|
|
@@ -123,7 +123,7 @@ def CORS_allow(methods): |
|
|
|
response['Access-Control-Allow-Methods'] = ', '.join(methods) |
|
|
|
# Try to stop further processing and return a 200 OK |
|
|
|
cherrypy.response.status = "200 OK" |
|
|
|
cherrypy.response.body = "" |
|
|
|
cherrypy.response.body = b"" |
|
|
|
cherrypy.request.handler = lambda: "" |
|
|
|
return |
|
|
|
|
|
|
|