You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var cookieContainer = req.Properties.ContainsKey("CookieContainer") ? req.Properties["CookieContainer"] as List<Cookie> : null;
485
+
{{/net60OrLater}}
478
486
487
+
{{#net60OrLater}}
488
+
if (req.Options.TryGetValue(_httpOptionsCookieContainerKey, out var cookieContainer))
489
+
{{/net60OrLater}}
490
+
{{^net60OrLater}}
479
491
if (cookieContainer != null)
492
+
{{/net60OrLater}}
480
493
{
481
494
if(_httpClientHandler == null) throw new InvalidOperationException("Request property `CookieContainer` not supported when the client is explicitly created without an HttpClientHandler, use the proper constructor.");
var transformed = new ApiResponse<T>(response.StatusCode, new Multimap<string, string>({{#caseInsensitiveResponseHeaders}}StringComparer.OrdinalIgnoreCase{{/caseInsensitiveResponseHeaders}}), result, rawContent)
if(_httpClientHandler == null) throw new InvalidOperationException("Configuration `ClientCertificates` not supported when the client is explicitly created without an HttpClientHandler, use the proper constructor.");
509
+
if(_httpClientHandler == null) throw new InvalidOperationException("Configuration `ClientCertificates` not supported when the client is explicitly created without an HttpClientHandler, use the proper constructor.");
var cookieContainer = req.Properties.ContainsKey("CookieContainer") ? req.Properties["CookieContainer"] as List<Cookie> : null;
515
+
{{/net60OrLater}}
504
516
517
+
{{#net60OrLater}}
518
+
if (req.Options.TryGetValue(_httpOptionsCookieContainerKey, out var cookieContainer))
519
+
{{/net60OrLater}}
520
+
{{^net60OrLater}}
505
521
if (cookieContainer != null)
522
+
{{/net60OrLater}}
506
523
{
507
-
if(_httpClientHandler == null) throw new InvalidOperationException("Request property `CookieContainer` not supported when the client is explicitly created without an HttpClientHandler, use the proper constructor.");
524
+
if(_httpClientHandler == null) throw new InvalidOperationException("Request property `CookieContainer` not supported when the client is explicitly created without an HttpClientHandler, use the proper constructor.");
if(_httpClientHandler==null)thrownewInvalidOperationException("Configuration `ClientCertificates` not supported when the client is explicitly created without an HttpClientHandler, use the proper constructor.");
504
+
if(_httpClientHandler==null)thrownewInvalidOperationException("Configuration `ClientCertificates` not supported when the client is explicitly created without an HttpClientHandler, use the proper constructor.");
if(_httpClientHandler==null)thrownewInvalidOperationException("Request property `CookieContainer` not supported when the client is explicitly created without an HttpClientHandler, use the proper constructor.");
511
+
if(_httpClientHandler==null)thrownewInvalidOperationException("Request property `CookieContainer` not supported when the client is explicitly created without an HttpClientHandler, use the proper constructor.");
0 commit comments