From f6d36b2ac95cbfc030cbb342b4b79a0a8e56a2d1 Mon Sep 17 00:00:00 2001 From: ManickaP Date: Thu, 6 Oct 2022 17:57:30 +0200 Subject: [PATCH 1/3] Details about AutomaticDecompression --- xml/System.Net.Http/HttpClientHandler.xml | 6 ++++++ xml/System.Net.Http/SocketsHttpHandler.xml | 12 +++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/xml/System.Net.Http/HttpClientHandler.xml b/xml/System.Net.Http/HttpClientHandler.xml index 748ce9678e4..346d4af496b 100644 --- a/xml/System.Net.Http/HttpClientHandler.xml +++ b/xml/System.Net.Http/HttpClientHandler.xml @@ -207,6 +207,12 @@ These configuration options are not available starting with .NET 5. . + + Setting automatic decompression to anything else than will cause adding `Accept-Encoding` header with the set values into every outgoing . + + For the .NET Framework 4.x `System.Net.Http` binary in the Global Assembly Cache (GAC), the default value is . When the [`System.Net.Http` NuGet package](https://www.nuget.org/packages/System.Net.Http/) v4.1.0 to v4.3.2 is used, the default is and . diff --git a/xml/System.Net.Http/SocketsHttpHandler.xml b/xml/System.Net.Http/SocketsHttpHandler.xml index 070548d1e46..0361a437180 100644 --- a/xml/System.Net.Http/SocketsHttpHandler.xml +++ b/xml/System.Net.Http/SocketsHttpHandler.xml @@ -180,7 +180,17 @@ These configuration options are not available starting with .NET 5. Gets or sets the type of decompression method used by the handler for automatic decompression of the HTTP content response. The type of decompression method used by the handler for automatic decompression of the HTTP content response. - To be added. + + . + + Setting automatic decompression to anything else than will cause adding `Accept-Encoding` header with the set values into every outgoing . + + ]]> + From 64b1e4bd0c73d176cdff925aa88787cb2172f3af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marie=20P=C3=ADchov=C3=A1?= <11718369+ManickaP@users.noreply.github.com> Date: Fri, 7 Oct 2022 13:07:55 +0200 Subject: [PATCH 2/3] Update xml/System.Net.Http/HttpClientHandler.xml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Ahmet İbrahim AKSOY --- xml/System.Net.Http/HttpClientHandler.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/System.Net.Http/HttpClientHandler.xml b/xml/System.Net.Http/HttpClientHandler.xml index 346d4af496b..0e3474d03af 100644 --- a/xml/System.Net.Http/HttpClientHandler.xml +++ b/xml/System.Net.Http/HttpClientHandler.xml @@ -207,7 +207,7 @@ These configuration options are not available starting with .NET 5. . Setting automatic decompression to anything else than will cause adding `Accept-Encoding` header with the set values into every outgoing . From 5e11d9112183046dc77060ebbcf37e615c80e17d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marie=20P=C3=ADchov=C3=A1?= <11718369+ManickaP@users.noreply.github.com> Date: Fri, 7 Oct 2022 13:08:01 +0200 Subject: [PATCH 3/3] Update xml/System.Net.Http/SocketsHttpHandler.xml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Ahmet İbrahim AKSOY --- xml/System.Net.Http/SocketsHttpHandler.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/System.Net.Http/SocketsHttpHandler.xml b/xml/System.Net.Http/SocketsHttpHandler.xml index 0361a437180..6736f5b104c 100644 --- a/xml/System.Net.Http/SocketsHttpHandler.xml +++ b/xml/System.Net.Http/SocketsHttpHandler.xml @@ -184,7 +184,7 @@ These configuration options are not available starting with .NET 5. . Setting automatic decompression to anything else than will cause adding `Accept-Encoding` header with the set values into every outgoing .