Ejemplo n.º 1
0
 public IResponse CreateResponse()
 {
     var response = new Response
     {
         ContentType = selectedContentType,
         Contents = GetContentRenderer(),
         StatusCode = selectedStatusCode
     };
     cookies.ForEach(x => response.AddCookie(x));
     headers.ForEach(x => response.Headers.Add(x));
     return response;
 }
Ejemplo n.º 2
0
 public void SetUp()
 {
     response = new Response();
 }