We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9363545 commit 23b4678Copy full SHA for 23b4678
src/CommunityToolkit.Datasync.Client/Http/HttpClientFactory.cs
@@ -97,7 +97,11 @@ internal static HttpMessageHandler CreatePipeline(IEnumerable<HttpMessageHandler
97
internal static HttpMessageHandler GetDefaultHttpClientHandler()
98
{
99
HttpClientHandler handler = new();
100
- handler.SetAutomaticDecompression(handler.SupportsAutomaticDecompression);
+ if (handler.SupportsAutomaticDecompression && !OperatingSystem.IsBrowser())
101
+ {
102
+ handler.SetAutomaticDecompression(handler.SupportsAutomaticDecompression);
103
+ }
104
+
105
return handler;
106
}
107
0 commit comments