Skip to content

swiing/cors-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

CORS examples

Examples demonstrating Cross-Origin Resource Sharing (CORS). View live.

Why

Loading a javascript resource cross-domain (cross-origin) can be blocked by the browser due to so-called CORS policy. The behaviour of CORS is dependant on the server configuration, as well as the client code. This repo demonstrates cases where the browser would succeed in loading the javascript resource, and cases where it would not.

Client-side factors:

Server-side factor:

About

Examples demonstrating Cross-Origin Resource Sharing (CORS).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published