示例#1
0
 public static void SetRequest(HttpWebRequest request, FileContext context, byte[] content)
 {
     Assert.IsNotNull(request);
     if (context.Async)
     {
         FileTestUtils.SetRequestAsync(request, context, content);
     }
     else
     {
         FileTestUtils.SetRequestSync(request, context, content);
     }
 }