Commit a24cdc6 1 parent 7f0d189 commit a24cdc6 Copy full SHA for a24cdc6
File tree 1 file changed +2
-0
lines changed
core/trino-main/src/main/java/io/trino/operator
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 60
60
import static com .google .common .base .MoreObjects .toStringHelper ;
61
61
import static com .google .common .base .Preconditions .checkState ;
62
62
import static com .google .common .base .Strings .isNullOrEmpty ;
63
+ import static com .google .common .net .HttpHeaders .CONTENT_ENCODING ;
63
64
import static com .google .common .net .HttpHeaders .CONTENT_TYPE ;
64
65
import static io .airlift .http .client .HttpStatus .NO_CONTENT ;
65
66
import static io .airlift .http .client .HttpStatus .familyForStatusCode ;
@@ -359,6 +360,7 @@ private synchronized void sendGetResults()
359
360
HttpResponseFuture <PagesResponse > resultFuture = httpClient .executeAsync (
360
361
prepareGet ()
361
362
.setHeader (TRINO_MAX_SIZE , maxResponseSize .toString ())
363
+ .setHeader (CONTENT_ENCODING , "identity" )
362
364
.setUri (uri ).build (),
363
365
new PageResponseHandler (dataIntegrityVerification != DataIntegrityVerification .NONE ));
364
366
You can’t perform that action at this time.
0 commit comments