mirror of
https://github.com/moparisthebest/davmail
synced 2024-11-11 20:05:03 -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("Content-Type", "text/xml; charset=utf-8");
|
||||||
method.setRequestHeader("Translate", "f");
|
method.setRequestHeader("Translate", "f");
|
||||||
try {
|
try {
|
||||||
DavGatewayHttpClientFacade.executeGetMethod(httpClient, method, false);
|
DavGatewayHttpClientFacade.executeGetMethod(httpClient, method, true);
|
||||||
result = getICS(method.getResponseBodyAsStream());
|
result = getICS(method.getResponseBodyAsStream());
|
||||||
} finally {
|
} finally {
|
||||||
method.releaseConnection();
|
method.releaseConnection();
|
||||||
|
Loading…
Reference in New Issue
Block a user