code: @Override
      protected boolean isCompressionAllowed() {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
              Tr.entry(tc, "isCompressionAllowed");
          }
          // 1.1 will always allow compression, but 1.0 will only work with one
          // single finishRequest call since we cannot do streaming compression
          // with the request message
          boolean rc = true;
          if (!getRequest().getVersionValue().equals(VersionValues.V11)) {
              rc = !isPartialBody();
          }
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
              Tr.exit(tc, "isCompressionAllowed: " + rc);
          }
          return rc;
      }
docs: /*
  @see
  com.ibm.ws.http.channel.internal.HttpServiceContextImpl#isCompressionAllowed
  ()