dotnet / dotnet/msbuild

Proposal : Extend DownloadFile to allow custom HTTP Headers

Open
#8,105 2 comments 3 reactions 0 assignees View on GitHub
backlog Feature Request triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

Problem statement:
The current implementation of DownloadFile does not expose any mechanism to add headers to the outgoing request. This prevents things like authenticated downloads.

The mechanics require to accomplish:

Add a parameter named `Headers` to the existing `DownloadFile` that would allow for adding additional HTTP Headers to the request.
```xml

```
Use a semi-colon separated list for multiple headers:

```xml

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.