Tornado
- self.set_header(“Access-Control-Allow-Credentials”, “true”)
- self.set_header(‘Access-Control-Allow-Methods’, ‘POST, GET, OPTIONS’)
- self.set_header(“Access-Control-Allow-Origin”, “*”)
Angular
- 请求头添加 withCredentials = true
nginx
- 配置文件中需有此项 proxy_hide_header Set-Cookie;