Skip to content

Instantly share code, notes, and snippets.

@RafaelC457ro
Last active August 4, 2016 18:54
Show Gist options
  • Save RafaelC457ro/daafa5128131345bbbc113bf2f0f7c7b to your computer and use it in GitHub Desktop.
Save RafaelC457ro/daafa5128131345bbbc113bf2f0f7c7b to your computer and use it in GitHub Desktop.
Resource for cors
http://www.html5rocks.com/en/tutorials/cors/?redirect_from_locale=pt
http://techblog.constantcontact.com/software-development/using-cors-for-cross-domain-ajax-requests/
https://www.soasta.com/blog/options-web-performance-with-single-page-applications/
https://remysharp.com/2011/04/21/getting-cors-working
Jquery not use cross-domain requests with custom headers -> https://github.com/jquery/jquery/blob/a117dd05f638a078c21dc57f19966f4ae81f98f0/src/ajax/xhr.js#L55
@RafaelC457ro
Copy link
Author

how browser handler cross-domain requests with custom headers:
preflighted-xhr-2
source: https://www.soasta.com/blog/options-web-performance-with-single-page-applications/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment