1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-14 11:42:23 -05:00

Caldav: Follow redirects on GET with permanentUrl

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@931 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2010-01-27 21:54:30 +00:00
parent 22cc502165
commit a9235db875

View File

@ -1809,7 +1809,7 @@ public class ExchangeSession {
method.setRequestHeader("Content-Type", "text/xml; charset=utf-8");
method.setRequestHeader("Translate", "f");
try {
DavGatewayHttpClientFacade.executeGetMethod(httpClient, method, false);
DavGatewayHttpClientFacade.executeGetMethod(httpClient, method, true);
result = getICS(method.getResponseBodyAsStream());
} finally {
method.releaseConnection();