[Webkit-unassigned] [Bug 50773] CORS origin header not set on GET when content type request header is set
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Dec 13 15:26:53 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=50773
--- Comment #7 from Sky Sanders <sky.sanders at gmail.com> 2010-12-13 15:26:53 PST ---
This demonstrates the bug.
var xhr = new XMLHttpRequest();
xhr.open("GET", "http://manu.sporny.org/rdfa/cors", true);
xhr.setRequestHeader("Content-Type", "application/json");
xhr.onreadystatechange = function () {
if (xhr.readyState == 4) {
alert("Expected status: 200 responseText: SUCCESS ... \n got status" + xhr.status + "\nresponseText : " + xhr.responseText);
}
}
xhr.send();
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list