fix: return from await when headers are downloaded

This commit is contained in:
Anna 2022-08-28 05:24:16 -04:00
parent 3be3c1d1e8
commit eb71fadbb3
Signed by: anna
GPG Key ID: 0B391D8F06FCD9E0
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ namespace ExpandedSearchInfo {
provider.ModifyRequest(req);
}
var resp = await client.SendAsync(req);
var resp = await client.SendAsync(req, HttpCompletionOption.ResponseHeadersRead);
if (resp.StatusCode != HttpStatusCode.OK) {
continue;
}