How does the Chrome browser decide when to send OPTIONS?
问题 I have an AngularJS WebAPI application. As far as I can understand the OPTIONS request is constructed automatically by the browser. POST http://localhost:3048/Token HTTP/1.1 Host: localhost:3048 Connection: keep-alive Content-Length: 78 Accept: application/json, text/plain, */* Origin: http://localhost:2757 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36 Content-Type: application/x-www-form-urlencoded Referer: http:/