python接收http请求解决跨域问题
self.send_header("Access-Control-Allow-Origin", "*");
self.send_header("Access-Control-Allow-Headers", "X-Requested-With");
self.send_header("Access-Control-Allow-Methods", "PUT,POST,GET,DELETE,OPTIONS");
self.send_header("X-Powered-By", ' 3.2.1')

浙公网安备 33010602011771号