From a01963a12580b2ed961f69e04bc008ee01fe2fd2 Mon Sep 17 00:00:00 2001 From: glax Date: Mon, 16 Jun 2025 00:47:26 +0200 Subject: [PATCH] HttpVersionPolicy.RequestVersionOrHigher --- API/MangaDownloadClients/HttpDownloadClient.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/API/MangaDownloadClients/HttpDownloadClient.cs b/API/MangaDownloadClients/HttpDownloadClient.cs index 458c4bf..2bc0eb9 100644 --- a/API/MangaDownloadClients/HttpDownloadClient.cs +++ b/API/MangaDownloadClients/HttpDownloadClient.cs @@ -13,6 +13,7 @@ internal class HttpDownloadClient : DownloadClient public HttpDownloadClient() { Client.DefaultRequestHeaders.TryAddWithoutValidation("User-Agent", TrangaSettings.userAgent); + Client.DefaultVersionPolicy = HttpVersionPolicy.RequestVersionOrHigher; } internal override RequestResult MakeRequestInternal(string url, string? referrer = null, string? clickButton = null)