mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Fix the manual nexus downloader
This commit is contained in:
parent
934cdd18ce
commit
7ab7565d16
@ -116,8 +116,8 @@ public abstract class BrowserWindowViewModel : ViewModel
|
||||
source.SetCanceled();
|
||||
}
|
||||
|
||||
args.Handled = true;
|
||||
args.Cancel = true;
|
||||
args.Handled = true;
|
||||
};
|
||||
|
||||
var uri = await source.Task.WaitAsync(token);
|
||||
|
@ -166,7 +166,7 @@ public class NexusDownloader : ADownloader<Nexus>, IUrlDownloader
|
||||
|
||||
var msg = browserState.ToHttpRequestMessage();
|
||||
|
||||
using var response = await _client.SendAsync(msg, token);
|
||||
using var response = await _client.SendAsync(msg, HttpCompletionOption.ResponseHeadersRead, token);
|
||||
if (!response.IsSuccessStatusCode)
|
||||
throw new HttpRequestException(response.ReasonPhrase, null, statusCode:response.StatusCode);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user