diff options
author | Jon Marius Venstad <jonmv@users.noreply.github.com> | 2020-10-01 15:54:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-01 15:54:32 +0200 |
commit | 1970a319908423d93164b5985a362285610eac9d (patch) | |
tree | 77e63e26dca5c105b836f17de4661ce2279bf5e1 /vespa-http-client/src | |
parent | 9c1cda0715260283b6a21081dc286ef86e3ab7b9 (diff) | |
parent | 6792ae6918439c535ff518107ad17351bb27fed1 (diff) |
Merge pull request #14634 from vespa-engine/jonmv/async-feed-handler
Async document v1
Diffstat (limited to 'vespa-http-client/src')
-rw-r--r-- | vespa-http-client/src/main/java/com/yahoo/vespa/http/client/core/communication/ApacheGatewayConnection.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/core/communication/ApacheGatewayConnection.java b/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/core/communication/ApacheGatewayConnection.java index 57b28cecdca..f69bdc2a91d 100644 --- a/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/core/communication/ApacheGatewayConnection.java +++ b/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/core/communication/ApacheGatewayConnection.java @@ -240,7 +240,7 @@ class ApacheGatewayConnection implements GatewayConnection { httpPost.addHeader(headerName, headerValue); }); - if (useCompression) { + if (useCompression) { // This causes the apache client to gzip the request content. Weird, huh? httpPost.setHeader("Content-Encoding", "gzip"); } return httpPost; |