Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
fix(http) Force content type to be 'text/plain' #34
Conversation
This will let CORS requests be marked as a simple request and therefore not require a preflight request. While Chrome was using text/plain as the content-type, Safari defaults to application/xml and therefore forcing a non-simple CORS request.
|
@tgrrtt can you please review? |
fix(http) Force content type to be 'text/plain'
This will let CORS requests be marked as a simple request and
therefore not require a preflight request.
While Chrome was using text/plain as the content-type, Safari defaults
to application/xml and therefore forcing a non-simple CORS request.