Example #1
0
 public static void LastModifiedHeader(HttpResponseMessage response)
 {
     Assert.IsNotNull(response);
     Assert.IsNotNull(HttpResponseParsers.GetLastModifiedTime(response));
     try
     {
         DateTime parsed = HttpResponseParsers.GetLastModifiedTime(response).ToUniversalTime().Date;
     }
     catch (Exception)
     {
         Assert.Fail();
     }
 }