Github user ajs6f commented on a diff in the pull request:
https://github.com/apache/jena/pull/151#discussion_r70630354
--- Diff:
jena-arq/src/main/java/org/apache/jena/sparql/engine/http/HttpQuery.java ---
@@ -298,6 +292,19 @@ public InputStream exec() throws QueryExceptionHTTP {
throw jEx;
}
}
+
+ private void contextualizeCompressionSettings() {
+ final RequestConfig.Builder builder =
RequestConfig.copy(context.getRequestConfig());
+ builder.setContentCompressionEnabled(allowGZip || allowDeflate);
--- End diff --
It's a very fair point. I was trying to be very light in my changes to the
API, but this is confusing. I'll fix it by going to a single `allowCompression`
setting.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---