mirror of
https://github.com/moparisthebest/davmail
synced 2025-01-05 18:58:02 -05:00
Revert checkEndPointUrl fix, does not work
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@2207 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
2b4afe4c11
commit
93b0f5ecf2
@ -164,7 +164,8 @@ public class EwsExchangeSession extends ExchangeSession {
|
||||
*/
|
||||
protected void checkEndPointUrl(String endPointUrl) throws IOException {
|
||||
HttpMethod checkMethod = new HeadMethod(endPointUrl);
|
||||
checkMethod.setFollowRedirects(true);
|
||||
checkMethod.setPath("/ews/services.wsdl");
|
||||
checkMethod.setFollowRedirects(false);
|
||||
try {
|
||||
int status = DavGatewayHttpClientFacade.executeNoRedirect(httpClient, checkMethod);
|
||||
if (status == HttpStatus.SC_UNAUTHORIZED) {
|
||||
|
Loading…
Reference in New Issue
Block a user