Skip to content

Commit 417c9b3

Browse files
miya789Matthew John Cheetham
andauthored
http: modify UseCookies to be set to true
Defaults to true, but overrides even if false Co-authored-by: Matthew John Cheetham <[email protected]>
1 parent cebbc73 commit 417c9b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/shared/Core/HttpClientFactory.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ public HttpClient CreateClient()
220220
cookieContainer.Add(uri, new Cookie(cookie.Name, cookie.Value));
221221
}
222222
handler.CookieContainer = cookieContainer;
223+
handler.UseCookies = true;
223224

224225
_trace.WriteLine("Configured to automatically send cookie header.");
225226

0 commit comments

Comments
 (0)