we are trying to use custom Http authentication for google calendar
API.
var dataReq = new XMLHttpRequest();
dataReq.open("GET", "http://www.google.com/calendar/feeds/default/
owncalendars/full", true);
dataReq.withCredentials = "true";
dataReq.setRequestHeader('Content-type', 'application/atom+xml');
dataReq.setRequestHeader("Authorization", "GoogleLogin
auth=xxxxxxxxxxxxxxxxxx);
dataReq.setRequestHeader("Connection", "close");
dataReq.onreadystatechange = function () {
if (dataReq.readyState == 4) {
switch (dataReq.status) {
case 200:
break;
case 401:
break;
}
};
}
While the the client token, we are getting correctly, and this code
works fine firefox 2.0, 3.5.x, and on IE - but it does not work on
epiphany, it seems custom http authentication is not recognized by
epiphany.
we always get "401" - Authoization required.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Calendar Data API" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---