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')
参考文章