React to StringSegment change

This commit is contained in:
Chris R 2017-05-20 05:09:05 -07:00
parent 6c13465dc2
commit c9a8cfce04
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ namespace E2ETests
_httpClient = new HttpClient(_httpClientHandler) { BaseAddress = new Uri(_deploymentResult.ApplicationBaseUri) };
foreach (var header in Microsoft.Net.Http.Headers.SetCookieHeaderValue.ParseList(response.Headers.GetValues("Set-Cookie").ToList()))
{
_httpClientHandler.CookieContainer.Add(new Uri(_deploymentResult.ApplicationBaseUri), new Cookie(header.Name, header.Value));
_httpClientHandler.CookieContainer.Add(new Uri(_deploymentResult.ApplicationBaseUri), new Cookie(header.Name.ToString(), header.Value.ToString()));
}
//Post a message to the OpenIdConnect middleware