Skip to content

Commit 393d654

Browse files
committed
feat: set AllowAutoRedirect false for NoProxyHttpClientHandler
1 parent 9d34b31 commit 393d654

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/WeihanLi.Common/Http/NoProxyHttpClientHandler.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ public NoProxyHttpClientHandler()
77
Proxy = null;
88
UseProxy = false;
99
UseCookies = false;
10+
AllowAutoRedirect = false;
1011
}
1112
}

0 commit comments

Comments
 (0)