From ebd1110db3f5e6b3e3b43b57b674097a34d7b647 Mon Sep 17 00:00:00 2001 From: Robert Fekete Date: Thu, 4 Dec 2025 09:07:23 +0100 Subject: [PATCH 1/4] content-compression default is no compression (identity) --- .../reference-destination-http-nonjava/_index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/chapter-destinations/configuring-destinations-http-nonjava/reference-destination-http-nonjava/_index.md b/content/chapter-destinations/configuring-destinations-http-nonjava/reference-destination-http-nonjava/_index.md index ef6cad4a..08550cd5 100644 --- a/content/chapter-destinations/configuring-destinations-http-nonjava/reference-destination-http-nonjava/_index.md +++ b/content/chapter-destinations/configuring-destinations-http-nonjava/reference-destination-http-nonjava/_index.md @@ -155,7 +155,7 @@ cloud-auth( | | | | -------- | ------------------ | | Type: | `"identity"`, `"gzip"`, `"deflate"`, `"all"` | -| Default: | | +| Default: | `"identity"` | *Description:* Use `content-compression()` to compress the messages sent by {{% param "product.abbrev" %}}. To accept compressed responses from the server, see the [`accept-encoding()` option](#accept-encoding). From 271bf2a7266c1b67d33c1b4f1935b28f57b52674 Mon Sep 17 00:00:00 2001 From: Robert Fekete Date: Thu, 4 Dec 2025 09:07:37 +0100 Subject: [PATCH 2/4] Fix order of included options --- .../reference-destination-http-nonjava/_index.md | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/content/chapter-destinations/configuring-destinations-http-nonjava/reference-destination-http-nonjava/_index.md b/content/chapter-destinations/configuring-destinations-http-nonjava/reference-destination-http-nonjava/_index.md index 08550cd5..98a8bc81 100644 --- a/content/chapter-destinations/configuring-destinations-http-nonjava/reference-destination-http-nonjava/_index.md +++ b/content/chapter-destinations/configuring-destinations-http-nonjava/reference-destination-http-nonjava/_index.md @@ -146,9 +146,9 @@ cloud-auth( {{% include-headless "chunk/example-tls-block-http.md" %}} - - {{% include-headless "chunk/option-destination-tls-cipher-suite.md" %}} +{{% include-headless "chunk/topic-tls-block-http.md" %}} +{{% include-headless "chunk/example-tls-block-http.md" %}} ## content-compression() @@ -161,12 +161,6 @@ cloud-auth( {{< include-headless "chunk/option-destination-http-compression.md" >}} -{{% include-headless "chunk/topic-tls-block-http.md" %}} - -{{% include-headless "chunk/example-tls-block-http.md" %}} - - - ## delimiter() {#https-options-delimiter} | | | From c1f779e43747dc8c77a4596ed57e4cdf960b690d Mon Sep 17 00:00:00 2001 From: Robert Fekete Date: Tue, 9 Dec 2025 09:49:36 +0100 Subject: [PATCH 3/4] Review fixes --- .../reference-destination-http-nonjava/_index.md | 7 +++++-- .../headless/chunk/option-destination-http-compression.md | 4 ---- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/content/chapter-destinations/configuring-destinations-http-nonjava/reference-destination-http-nonjava/_index.md b/content/chapter-destinations/configuring-destinations-http-nonjava/reference-destination-http-nonjava/_index.md index 98a8bc81..ffd0ff78 100644 --- a/content/chapter-destinations/configuring-destinations-http-nonjava/reference-destination-http-nonjava/_index.md +++ b/content/chapter-destinations/configuring-destinations-http-nonjava/reference-destination-http-nonjava/_index.md @@ -15,6 +15,9 @@ The `http` destination of {{% param "product.abbrev" %}} can directly post log m *Description:* Use `accept-encoding()` to request the server to compress the HTTP responses. ({{% param "product.abbrev" %}} doesn't currently use them, but they still contribute to network traffic.) To compress the messages sent by {{% param "product.abbrev" %}}, see the [`content-compression()` option](#content-compression). +- If you want to accept multiple compression types, list them separated by commas inside the quotation mark. +- To enable all available compression types, use `"all"`. + {{< include-headless "chunk/option-destination-http-compression.md" >}} ## accept-redirects() @@ -154,10 +157,10 @@ cloud-auth( | | | | -------- | ------------------ | -| Type: | `"identity"`, `"gzip"`, `"deflate"`, `"all"` | +| Type: | `"identity"`, `"gzip"`, `"deflate"` | | Default: | `"identity"` | -*Description:* Use `content-compression()` to compress the messages sent by {{% param "product.abbrev" %}}. To accept compressed responses from the server, see the [`accept-encoding()` option](#accept-encoding). +*Description:* Use `content-compression()` to compress the messages sent by {{% param "product.abbrev" %}}. Use `"identity"` for no compression. To accept compressed responses from the server, see the [`accept-encoding()` option](#accept-encoding). {{< include-headless "chunk/option-destination-http-compression.md" >}} diff --git a/content/headless/chunk/option-destination-http-compression.md b/content/headless/chunk/option-destination-http-compression.md index 8c0648a1..115bd429 100644 --- a/content/headless/chunk/option-destination-http-compression.md +++ b/content/headless/chunk/option-destination-http-compression.md @@ -1,10 +1,6 @@ --- --- -Use `"identity"` for no compression. - -- If you want to accept multiple compression types, list them separated by commas inside the quotation mark. -- To enable all available compression types, use `"all"`. For example: From 09e0de57fdf5465fee0cf8923ecc741f5a34ce4a Mon Sep 17 00:00:00 2001 From: Robert Fekete Date: Tue, 9 Dec 2025 10:02:28 +0100 Subject: [PATCH 4/4] Remove commas from code example for consistency --- content/headless/chunk/option-destination-http-compression.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/headless/chunk/option-destination-http-compression.md b/content/headless/chunk/option-destination-http-compression.md index 115bd429..7c26691f 100644 --- a/content/headless/chunk/option-destination-http-compression.md +++ b/content/headless/chunk/option-destination-http-compression.md @@ -6,6 +6,6 @@ For example: ```shell destination d_http_compressed{ - http(url("127.0.0.1:80"), content-compression("deflate"), accept-encoding("all")); + http(url("127.0.0.1:80") content-compression("deflate") accept-encoding("all")); }; ```