mirror of
https://github.com/2dust/v2rayN.git
synced 2026-10-11 16:48:14 +03:00
Fix subscription requests missing Accept header (#10095)
This commit is contained in:
@@ -82,7 +82,7 @@ public static class SubscriptionHandler
|
||||
|
||||
private static DownloadService CreateDownloadHandler(string hashCode, Func<bool, string, Task> updateFunc)
|
||||
{
|
||||
var downloadHandle = new DownloadService();
|
||||
var downloadHandle = new DownloadService { AcceptHeader = "*/*" };
|
||||
downloadHandle.Error += (sender2, args) =>
|
||||
{
|
||||
updateFunc?.Invoke(false, $"{hashCode}{args.GetException().Message}");
|
||||
|
||||
Reference in New Issue
Block a user