fix: return from await when headers are downloaded

This commit is contained in:
Anna 2022-08-28 05:24:16 -04:00
parent 277fcd86d1
commit 661d76b664
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;
}