mirror of
https://github.com/C9Glax/tranga.git
synced 2025-06-23 03:24:15 +02:00
HttpVersionPolicy.RequestVersionOrHigher
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user