mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-14 03:32:22 -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:
parent
22cc502165
commit
a9235db875
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user