Skip to content

Commit

Permalink
[4.4][http] Documents accept-encoding and content-compression
Browse files Browse the repository at this point in the history
  • Loading branch information
eldarnash committed Sep 30, 2023
1 parent 523ecd8 commit f9d8438
Showing 1 changed file with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@ weight: 300

The `http` destination of {{% param "product.abbrev" %}} can directly post log messages to web services using the HTTP protocol. The `http` destination has the following options.

## accept-encoding()

| | |
| -------- | ------------------ |
| Type: | `"identity"`, `"gzip"`, `"deflate"`, `"all"` |
| Default: | |

*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).

{{< include-headless "chunk/option-destination-http-compression.md" >}}

## azure-auth-header()

See {{% xref "/chapter-destinations/configuring-destinations-http-nonjava/plugin-azure-auth-header/_index.md" %}}.
Expand Down Expand Up @@ -90,6 +101,17 @@ For details on how this option influences HTTP batch mode, see [http: Posting me

{{% include-headless "chunk/option-destination-tls-cipher-suite.md" %}}

## content-compression()

| | |
| -------- | ------------------ |
| Type: | `"identity"`, `"gzip"`, `"deflate"`, `"all"` |
| Default: | |

*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).

{{< include-headless "chunk/option-destination-http-compression.md" >}}

{{% include-headless "chunk/topic-tls-block-http.md" %}}

{{% include-headless "chunk/example-tls-block-http.md" %}}
Expand Down

0 comments on commit f9d8438

Please sign in to comment.