【IT专家】跨源资源共享的问题-OSX Safari和iOS Safari在飞行前请求失败

更新时间:2023-06-22 07:09:35 阅读: 评论:0

自动增益控制跨源资源共享的问题:OSX Safari和iOS Safari在飞行前请求失败跨源资源共享的问题:OSX Safari和iOS Safari在飞行前请求失败[英]problems with Cross Origin Resource Sharing: both OSX Safari and iOS Safari fail after preflight request Recently I come into a trouble with CORS(Cross Origin Resource Sharing) request on Safari, both OSX and iOS, while the same request works perfectly on Chrome and Firefox. I follow the documentation of W3C and handle preflight request on rver side, my respon is like:
乒乓球作文>有关狼的谚语 最近,我在OSX和iOS的Safari上遇到了CORS(跨源资源共享)请求,而同样的请求在Chrome和Firefox上运行得很好。我遵循W3C的文档,在服务器端处理飞行前请求,我的回复是:怂了是什么意思
 HTTP/1.0 200 OKAccess-Control-Allow-Origin: 192.168.1.96:4399Access-Control-Allow-Methods: POSTAccess-Control-Allow-Methods: GETAccess-Control-Allow-Methods: OPTIONSAccess-Control-Allow-Headers: OriginAccess-Control-Allow-Headers: AuthorizationAccess-Control-Allow-Headers: X-Requested-WithAccess-Control-Allow-Headers: AcceptAccess-Control-Allow-Headers: Access-Control-Request-MethodAccess-Control-Allow-Headers: Access-Control-Request-HeadersAccess-Control-Allow-Headers: DNTAccess-Control-Allow-Headers: X-CustomHeaderAccess-Control-Allow-Headers: Content-TypeAccess-Control-Max-Age: 0Date: Fri, 25 Nov 2016 08:45:25 GMTOrigin: 192.168.1.96:4399Access-Control-Expo-Headers: OriginContent-Encoding: gzipTransfer-Encoding:
显然>秋季运动会
chunked Such respon works fine on Chrome, Firefox, and Android Browr: a POST request is nt right after the preflight request. But on Safari, after rver respon the reflight request, I got such error message from console:
中山市会计学会 这种响应在Chrome、Firefox和Android浏览器上运行良好:在飞行前请求之后发送一个POST请求。但是在Safari上,当服务器响应reflight请求后,我从控制台收到了这样的错误消息:
宝刀未老的意思是什么
 Failed to load resource: The network connection was lost. I inspect the preflight

本文发布于:2023-06-22 07:09:35,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/82/1011691.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:请求   飞行   跨源   资源共享   有关   错误
相关文章
留言与评论(共有 0 条评论)
   
验证码:
推荐文章
排行榜
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图