--
Has recibido este mensaje porque estás suscrito al grupo "Javascript Argentina" de Grupos de Google.
Para anular la suscripción a este grupo y dejar de recibir sus mensajes, envía un correo electrónico a javascript-ar...@googlegroups.com.
Para publicar en este grupo, envía un correo electrónico a javascr...@googlegroups.com.
Para ver esta conversación en el sitio web, visita https://groups.google.com/d/msgid/javascript-arg/1daf0a1c-bd19-4559-8014-d881969029e9%40googlegroups.com.
Para acceder a más opciones, visita https://groups.google.com/d/optout.
var invocation = new XMLHttpRequest();
var url = 'http://bar.other/resources/credentialed-content/';
function callOtherDomain(){
if(invocation) {
invocation.open('GET', url, true);
invocation.withCredentials = true;
invocation.onreadystatechange = handler;
invocation.send();
}http://bar.other, if bar.other did not respond with an Access-Control-Allow-Credentials: true (line 19) the response would be ignored and not made available to web content. Important note: when responding to a credentialed request, server must specify a domain, and cannot use wild carding. The above example would fail if the header was wildcarded as: Access-Control-Allow-Origin: *. Since the Access-Control-Allow-Origin explicitly mentions http://foo.example, the credential-cognizant content is returned to the invoking web content. Note that in line 22, a further cookie is set.Para ver esta conversación en el sitio web, visita https://groups.google.com/d/msgid/javascript-arg/CABP-zBDLX1vHq1TxuyqX1pBjx-Jgn2_CNj6dy%2BoapFid4f6ztQ%40mail.gmail.com.
Oauth, tokens...
Para ver esta conversación en el sitio web, visita https://groups.google.com/d/msgid/javascript-arg/a628ad0f-f4b0-478f-ae9a-ea034d38fdb5%40googlegroups.com.