Re: XMLHttpRequest for REST/PUT request to GoogleCalendar -- discloses login/PW to console

2013-03-05 Thread Anne van Kesteren
On Monday, March 4, 2013 9:34:17 PM UTC, gNeandr wrote: > Maybe it was my fault to use .responseType="" because the description > for XHR has that and ="text" as string type. While that is correct, XMLHttpRequest will exhibit its legacy behavior of also making responseXML available if you use ""

Re: XMLHttpRequest for REST/PUT request to GoogleCalendar -- discloses login/PW to console

2013-03-04 Thread gNeandr
On 04.03.2013 15:48, Boris Zbarsky wrote: On 3/4/13 6:26 AM, gNeandr wrote: Any idea how to fix that problem, any workaround .. catching the response NOT to throw it to the console? If you control the server, make sure the Content-Type it returns is not an XML type (like the fruux.com server d

Re: XMLHttpRequest for REST/PUT request to GoogleCalendar -- discloses login/PW to console

2013-03-04 Thread Boris Zbarsky
On 3/4/13 6:26 AM, gNeandr wrote: Any idea how to fix that problem, any workaround .. catching the response NOT to throw it to the console? If you control the server, make sure the Content-Type it returns is not an XML type (like the fruux.com server does). If you control the caller and don'

XMLHttpRequest for REST/PUT request to GoogleCalendar -- discloses login/PW to console

2013-03-04 Thread gNeandr
Using XMLHttpRequest for REST/PUT request to GoogleCalendar I get a response/error to the console like this with the red XML error symbol: > Error: no element found > Source file: https://{--mymailadr--}%40googlemail%2Ecom:{--PASSWORD--}@www.google.com/calendar/dav/{--CALENDAR_ID--}@group.calend