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.

 

Sudhir

_______________________________________________
epiphany-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/epiphany-list

Reply via email to