From 5ac078a1433e0589e3bc7384af4d21f342befe5e Mon Sep 17 00:00:00 2001 From: Elivo Date: Sun, 30 Mar 2025 21:13:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=20HttpClient=20=E4=B8=AD=EF=BC=8C?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E7=BC=BA=E5=B0=91=20CookieContainer=20?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=20NULL=20=E5=BC=95=E7=94=A8=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Apewer/Network/HttpClient.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Apewer/Network/HttpClient.cs b/Apewer/Network/HttpClient.cs index b924827..c005a3a 100644 --- a/Apewer/Network/HttpClient.cs +++ b/Apewer/Network/HttpClient.cs @@ -213,6 +213,7 @@ namespace Apewer.Network request.Method = method.ToString(); request.AllowAutoRedirect = AllowRedirect; + request.CookieContainer = new CookieContainer(); var cookies = RequestCookies; if (cookies != null) {