From 835b925342d7e3217c638ebcccd128b1cfbca995 Mon Sep 17 00:00:00 2001 From: Ioannis G Date: Thu, 13 Jan 2022 00:36:14 +0200 Subject: [PATCH] set HttpCompletionOption in Http.SendAsync --- Flow.Launcher.Infrastructure/Http/Http.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Flow.Launcher.Infrastructure/Http/Http.cs b/Flow.Launcher.Infrastructure/Http/Http.cs index c4c8eb5b1..9f4146b7b 100644 --- a/Flow.Launcher.Infrastructure/Http/Http.cs +++ b/Flow.Launcher.Infrastructure/Http/Http.cs @@ -159,7 +159,7 @@ namespace Flow.Launcher.Infrastructure.Http /// public static async Task SendAsync(HttpRequestMessage request, CancellationToken token = default) { - return await client.SendAsync(request, token); + return await client.SendAsync(request, HttpCompletionOption.ResponseHeadersRead, token); } } }