From 49ae0d74e50698094e42a05e819985f4fef4178c Mon Sep 17 00:00:00 2001 From: Felix Cornelissen Date: Thu, 28 Nov 2024 14:52:29 +0100 Subject: [PATCH] cleanup --- .../Documenten/DocumentDownload/DocumentDownloadResult.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ODPC.Server/Features/Documenten/DocumentDownload/DocumentDownloadResult.cs b/ODPC.Server/Features/Documenten/DocumentDownload/DocumentDownloadResult.cs index 2a9c984..d5a2681 100644 --- a/ODPC.Server/Features/Documenten/DocumentDownload/DocumentDownloadResult.cs +++ b/ODPC.Server/Features/Documenten/DocumentDownload/DocumentDownloadResult.cs @@ -16,7 +16,7 @@ public async Task ExecuteResultAsync(ActionContext context) ? m : 10; client.Timeout = TimeSpan.FromMinutes(timeoutInMinutes); - using var requestMessage = new HttpRequestMessage(HttpMethod.Get, path) { Version = new Version(2, 0) }; + using var requestMessage = new HttpRequestMessage(HttpMethod.Get, path); using var httpResponse = await client.GetAsync(path, HttpCompletionOption.ResponseHeadersRead, token); ; response.StatusCode = (int)httpResponse.StatusCode;