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

JobCommand: reimplement urlretrieve with requests #209

Merged
merged 1 commit into from
Mar 9, 2023

Conversation

jvansanten
Copy link
Contributor

urllib.request.urlretrieve fails to set the Host: header, required for hosts like cdn.discordapp.com that are protected by cloudflare. Who knew?

@jvansanten jvansanten force-pushed the fetch-artifacts-with-requests branch from e1e6811 to 2f6695e Compare March 8, 2023 13:17
urllib.request.urlretrieve fails to set the `Host:` header, required for
hosts like cdn.discordapp.com that are protected by cloudflare. Who knew?
@jvansanten jvansanten force-pushed the fetch-artifacts-with-requests branch from 2f6695e to d0859cf Compare March 8, 2023 16:20
@jvansanten jvansanten merged commit 8b10622 into master Mar 9, 2023
@jvansanten jvansanten deleted the fetch-artifacts-with-requests branch March 9, 2023 10:27
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.

1 participant