public async Task Does_not_redirect_on_POST_and_307()
{
using (var client = new HttpClient(_handler)
{
BaseAddress = new Uri("http://localhost")
})
{
var response = await client.PostAsync("/redirect-307-absolute", new StringContent("the-body"));
response.StatusCode.ShouldBe(HttpStatusCode.TemporaryRedirect);
response.RequestMessage.RequestUri.AbsoluteUri.ShouldBe("http://localhost/redirect-307-absolute");
}
}