code: protected RequestBody setCompressedBody(byte[] bodyBytes) {
          if (bodyBytes.length < MIN_JSON_LENGTH_TO_COMPRESS)
              return null;
          byte[] encodedBytes = Utils.compressByGzip(bodyBytes);
          if (encodedBytes == null || encodedBytes.length >= bodyBytes.length)
              return null;
          return RequestBody.create(JSON, encodedBytes);
      }
docs: Generate gzipped body