AndroidCaldavSyncAdapater
AndroidCaldavSyncAdapater copied to clipboard
Creating Account not follow HTTP 301 Redirect
If I create new Account, URL which have Redirect 301 to full length calendar url is not accepted. Is it possible to use redirected URL.
If this is done, it will be good to use .well-known/caldav redirect for easier way to create new account.
Check out http://tools.ietf.org/search/rfc6764#section-3 and following section for details.
Hi, it's fine. I know this document. SRV or TXT record is sometimes not possible to change or set. Anyway, .htaccess redirects are mostyl supported.
But when you want from somebody to write full address like https://SERVER_NAME/caldav/calendars/USERNAME/CALENDAR_NAME they usually said, on ipad it's easier, becouse I write there you server_name, and application check protocols (https or http), read .well-known/caldav redirect and continue on this redirected page.
Very simple and easy. Anyway, this is another keys, for first AndroidCalDavSyncAdapter not read 301 Redirect
Bach to this issue, for iOS is creating account for CalDAV very simple, just add login,pass and server address. Everything is done by CRV/TXT or .well-known URL. Why not to support .well-known URL or redirects like https://SERVER_NAME/caldav/USERNAME which will redirect you to something like this: https://SERVER_NAME/caldav/calendars/USERNAME/CALENDAR_NAME It's just read, is URL 301 redirect, if yes, read it and use new URL as calendar URL.