diff --git a/Wabbajack.App.Wpf/View Models/BrowserWindowViewModel.cs b/Wabbajack.App.Wpf/View Models/BrowserWindowViewModel.cs index 5bfe7c64..b64bba61 100644 --- a/Wabbajack.App.Wpf/View Models/BrowserWindowViewModel.cs +++ b/Wabbajack.App.Wpf/View Models/BrowserWindowViewModel.cs @@ -115,9 +115,9 @@ public abstract class BrowserWindowViewModel : ViewModel { source.SetCanceled(); } - - args.Handled = true; + args.Cancel = true; + args.Handled = true; }; var uri = await source.Task.WaitAsync(token); diff --git a/Wabbajack.Downloaders.Nexus/NexusDownloader.cs b/Wabbajack.Downloaders.Nexus/NexusDownloader.cs index 37d460dd..7eca13f2 100644 --- a/Wabbajack.Downloaders.Nexus/NexusDownloader.cs +++ b/Wabbajack.Downloaders.Nexus/NexusDownloader.cs @@ -166,7 +166,7 @@ public class NexusDownloader : ADownloader, 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);