blob: 0d60deed2966a3b6797b45c1924ca16a76242d9c [file] [log] [blame]
<script>
var request = new XMLHttpRequest();
request.onreadystatechange = function () {
if (this.readyState === 4)
window.parent.postMessage(" iframe host: " + window.location.hostname + " credentials:" + this.responseText, "*");
};
request.open('GET', 'http://127.0.0.1:8000/security/resources/cors-basic-auth.py', true, "same-domain-user", "same-domain-password");
request.send();
</script>