500 OPTIONS请求对CDN的响应 [英] 500 Response on OPTIONS request to a CDN

查看:135
本文介绍了500 OPTIONS请求对CDN的响应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我从OPTIONS请求得到500条回复到CDN。这种情况会在刷新时间歇性地发生在同一请求中。





解决方案

嗨丹尼尔, 



错误中提到的CORS似乎是一个问题。您发布的此特定请求没有"允许控制 - 允许 - 来源"。标题因此被CORS政策阻止。 



问候, 


Msrini 


I’m getting 500 responses from an OPTIONS request to a CDN. This happens intermittently for the same request upon a refresh.

解决方案

Hi Daniel, 

It seems to be an issue with CORS as mentioned in the error. This specific request which you have posted doesn't have "Allow Control-Allow-Origin" header and hence it is blocked by CORS policy. 

Regards, 

Msrini 


这篇关于500 OPTIONS请求对CDN的响应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆