Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vscode: Add browser user-agent while downloading #500

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

surajssd
Copy link
Member

Vscode website is blocking the download of the
vscode while getting it directly using CLI tools
like curl, wget, etc. by returning 403: Forbidden HTTP errors.

So this PR adds a browser like user-agent to the
request to get around this issue.

Vscode website is blocking the download of the
vscode while getting it directly using CLI tools
like curl, wget, etc. by returning `403:
Forbidden` HTTP errors.

So this PR adds a browser like user-agent to the
request to get around this issue.

Signed-off-by: Suraj Deshmukh <suraj.deshmukh@microsoft.com>
Copy link
Member

@dsajanice dsajanice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for fixing this!

@dsajanice dsajanice merged commit 7854364 into Azure:master Oct 18, 2024
1 check passed
@surajssd surajssd deleted the fix-vscode-installation branch October 18, 2024 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants