admin管理员组文章数量:1289603
I am building a widget for my users and trying to get it working however I keep running into a X-Domain issue with this header. httpfox gives me - NS_ERROR_DOM_BAD_URI - and on further investigation I find that its
Access-Control-Request-Method: GET
Access-Control-Request-Header: x-requested-with
I am not sure why its not loading but I basically call a script and then I am trying to grab some html to load it but it gets blocked with the above headers.
How can I get around this prob ?
I am building a widget for my users and trying to get it working however I keep running into a X-Domain issue with this header. httpfox gives me - NS_ERROR_DOM_BAD_URI - and on further investigation I find that its
Access-Control-Request-Method: GET
Access-Control-Request-Header: x-requested-with
I am not sure why its not loading but I basically call a script and then I am trying to grab some html to load it but it gets blocked with the above headers.
How can I get around this prob ?
Share Improve this question edited Nov 20, 2012 at 6:03 Dan D. 74.7k15 gold badges110 silver badges127 bronze badges asked Apr 30, 2010 at 19:00 TomTom 991 gold badge1 silver badge4 bronze badges1 Answer
Reset to default 5It's Access-Control-Request-Headers
with "s
"
https://developer.mozilla/en/docs/HTTP/Access_control_CORS#Access-Control-Request-Headers
本文标签: javascriptAccessControlRequestHeaderxrequestedwithStack Overflow
版权声明:本文标题:javascript - Access-Control-Request-Header: - x-requested-with - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741436661a2378675.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论