public async Task TestHead() { test.Request.ProtocolMethod = HttpProtocolMethod.Head; await new HttpHeaderSpecialAction().ProgressTask(test.Task).ConfigureAwait(false); Assert.AreEqual(true, test.GetInfoObject("Only Header")); }