Skip to content

Use custom agent header in axios web requests. #2510

@nagilson

Description

@nagilson

We should add a request header for user-agent that makes our web request worker singleton send the user agent header as 'vscode-dotnet-runtime' so we can see in telemetry where requests are coming from. We should add a small unit test to validate this and compare to see what the prior user agent header was in case there was protection already in place against the existing agent header for sending too many requests.

thank you @drewnoakes for the suggestion!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions