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. () { 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. Sudhir
Jangir Cell: +91
98106-12876 (India) +1
(408) 907-6908 (Night) Work: +91
(124) 423 4477 extn. 26 (India) +1
(408) 689-2689 extn. 26 (US) Address: 751
Udyog Vihar, Phase V Gurgaon,
NCR 122 001 India 3120
De La Cruz Blvd, Suite 102 Santa
Clara, CA 95035 US |