对OPTIONS请求的响应有什么问题吗?
Access-Control-Allow-Headers: Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept
Access-Control-Allow-Method: POST, OPTIONS
Access-Control-Allow-Origin: *
Access-Control-Max-Age: 21600
Allow: POST, OPTIONS
Content-Length: 0
Content-Type: text/html; charset=utf-8
Date: Fri, 25 Jul 2014 13:01:30 GMT
Server: Werkzeug/0.9.6 Python/2.7.5
我对Chrome中的OPTIONS请求得到了完全相同的响应,它完全正常,而Firefox在响应后不会继续使用AJAX。