autodiscover: try multiple URLs, implement proper redirect behavior
authorSimon Schubert <2@0x2c.org>
Thu, 4 Aug 2011 22:20:10 +0000 (00:20 +0200)
committerSimon Schubert <2@0x2c.org>
Thu, 4 Aug 2011 22:20:10 +0000 (00:20 +0200)
commit9704003b15e43e289f338ae70e60cb434aac2371
treec7f6342c972c9ae73cbab098c67014ebae8693e5
parent70239ea5a536a3860a29ade5cc2b360203ab1801
autodiscover: try multiple URLs, implement proper redirect behavior

This has been modeled after the documentation at
<http://msdn.microsoft.com/en-us/library/ee332364(v=EXCHG.140).aspx>.
What is missing the user confirmation for insecure redirects and DNS
SRV queries.

This commit makes the provider work with microsoftonline.com hosted
Exchange.

Bug: https://bugs.launchpad.net/lightning-exchange-provider/+bug/819558
js/calExchange.js