mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
set HttpCompletionOption in Http.SendAsync
This commit is contained in:
parent
a0bb995643
commit
835b925342
1 changed files with 1 additions and 1 deletions
|
|
@ -159,7 +159,7 @@ namespace Flow.Launcher.Infrastructure.Http
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken token = default)
|
public static async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken token = default)
|
||||||
{
|
{
|
||||||
return await client.SendAsync(request, token);
|
return await client.SendAsync(request, HttpCompletionOption.ResponseHeadersRead, token);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue