在进行
之类的请求时是否可以防止任何重定向var context = BrowsingContext.New(new Configuration().WithDefaultLoader().WithCookies());
var response = await context
.Configuration
.Services
.OfType<HttpRequester>()
.First()
.RequestAsync(
new Request
{
Address = AngleSharp.Url.Create(url),
Method = HttpMethod.Post,
},
CancellationToken.None);
还是抓住他们?