Cross-Origin Resource Sharing
A resource makes a cross-origin HTTP request when it requests a resource from a different domain than the one which the first resource itself serves. For example, an HTML page served from http://domain-a.com makes an <img> src request for http://domain-b.com/image.jpg. Many pages on the web today load resources like CSS stylesheets, images and scripts from separate domains.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS
http://www.w3.org/TR/cors/
本文介绍了跨域资源共享(CORS)的基本概念,解释了当资源从不同域名请求时如何进行跨域HTTP请求。例如,一个HTML页面从domain-a.com加载图片资源image.jpg位于domain-b.com上。此外还探讨了许多网页从不同域名加载CSS样式表、图片和脚本的现象。

被折叠的 条评论
为什么被折叠?



