Skip to content

Commit

Permalink
Disable content compression globally to workaround gzip Accept-Encodi…
Browse files Browse the repository at this point in the history
…ng header bug
  • Loading branch information
dnlkoch committed Nov 16, 2017
1 parent 893f52f commit b65edfa
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1861,6 +1861,8 @@ private static Response send(HttpRequestBase httpRequest, Credentials credential
httpContext.setAuthCache(authCache);

httpClient = HttpClients.custom()
// TODO Temporarily workaround!
.disableContentCompression()
.setDefaultCredentialsProvider(credentialsProvider)
.build();

Expand Down

0 comments on commit b65edfa

Please sign in to comment.