mirror of
https://github.com/moparisthebest/davmail
synced 2025-01-05 18:58:02 -05:00
EWS: fix davmail.acceptEncodingGzip setting handling
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1979 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
ab536ded32
commit
5c337081b8
@ -109,7 +109,7 @@ public abstract class EWSMethod extends PostMethod {
|
||||
this.methodName = methodName;
|
||||
this.responseCollectionName = responseCollectionName;
|
||||
if (Settings.getBooleanProperty("davmail.acceptEncodingGzip", true) &&
|
||||
!Level.DEBUG.toString().equals(Settings.getBooleanProperty("log4j.logger.httpclient.wire"))) {
|
||||
!Level.DEBUG.toString().equals(Settings.getProperty("log4j.logger.httpclient.wire"))) {
|
||||
setRequestHeader("Accept-Encoding", "gzip");
|
||||
}
|
||||
setRequestEntity(new RequestEntity() {
|
||||
|
Loading…
Reference in New Issue
Block a user