We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc6bc16 commit fbc23b4Copy full SHA for fbc23b4
source/Nuke.Common/IO/HttpTasks.cs
@@ -55,7 +55,7 @@ public static async Task HttpDownloadFileAsync(
55
Action<WebHeaderCollection> headerConfigurator = null,
56
Action<WebRequest> requestConfigurator = null)
57
{
58
- var webClient = new WebClient();
+ WebClient webClient = new CustomWebClient(requestConfigurator);
59
webClient = clientConfigurator.InvokeSafe(webClient);
60
headerConfigurator?.Invoke(webClient.Headers);
61
0 commit comments