fix: return from await when headers are downloaded
This commit is contained in:
parent
3be3c1d1e8
commit
eb71fadbb3
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue