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.calendar.google.com/events/1362006000000-915510352.ics
> Line: 1
Tracing the response for that CalDAV 'PUT' request gives:
with 'GCalendar':
> Error 204 No Content
> Server: GSE
> X-Firefox-Spdy: 3
Basically the GCal answer is correct, but XMLHttpRequest seems to parse
that "null" answer as a XML answer and fails.
I found using another CalDAV server has another response and there is no
such login/pw disclosing string on the console:
'fruux.com':
> Error 204 No Content
> Server: nginx
> Content-Type: text/html
> Content-Length: 0
Any idea how to fix that problem, any workaround .. catching the
response NOT to throw it to the console?
There is a bug https://bugzilla.mozilla.org/show_bug.cgi?id=521301
already but no solution!
Günter
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform