mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 03:26:07 +02:00
enable http compression on posts
This commit is contained in:
parent
0b76afebe3
commit
b734b59fee
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ namespace MediaBrowser.Common.Implementations.HttpClientManager
|
||||||
{
|
{
|
||||||
cancellationToken.ThrowIfCancellationRequested();
|
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);
|
EnsureSuccessStatusCode(msg);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue