功能如下:
def cors_handler(request, response):
response.set_header("Access-Control-Allow-Origin", "*")
response.set_header("Access-Control-Allow-Headers", "Content-Type")
response.set_header("Access-Control-Allow-Methods", "POST")
response.set_status(204)
response.send("")