简体   繁体   English

如果CORS预检失败,将发送真实请求吗?

[英]If a CORS preflight failed, will the real request be sent?

If a CORS preflight failed, will the real request be sent? 如果CORS预检失败,将发送真实请求吗?

  1. The browser didn't send a real request at all? 浏览器根本没有发送真实的请求?
  2. The browser still send the real request, but the response was intercepted? 浏览器仍然发送真实请求,但是响应被拦截了吗?

预检请求用于请求服务器发送带有CORS的实际请求,如果预检请求未通过,则服务器发送错误并且实际请求被阻止。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM