Ejemplo n.º 1
0
 public void OnExecuted(IHttp http, IRequest request, IResponse response)
 {
     foreach (var header in response.Headers.Where(x => x.Name == Slumber.HttpHeaders.SetCookie))
     {
         var cookie = new HttpCookie(header.Value);
         http.Add(cookie);
     }
 }