The Free Software Media System - Server Backend & API
enable http compression on posts
Luke Pulverentib734b59fee8c
diff --git a/MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs b/MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.csindex c29e2235df..d10f987669 100644--- a/MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs+++ b/MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs@@ -254,7 +254,7 @@ namespace MediaBrowser.Common.Implementations.HttpClientManager{cancellationToken.ThrowIfCancellationRequested();- var msg = await GetHttpClient(GetHostFromUrl(url), false).HttpClient.PostAsync(url, content, cancellationToken).ConfigureAwait(false);+ var msg = await GetHttpClient(GetHostFromUrl(url), true).HttpClient.PostAsync(url, content, cancellationToken).ConfigureAwait(false);EnsureSuccessStatusCode(msg);