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

Set --server-name to something PyPI-specific #5

Merged
merged 1 commit into from
Aug 30, 2023
Merged

Set --server-name to something PyPI-specific #5

merged 1 commit into from
Aug 30, 2023

Conversation

di
Copy link
Member

@di di commented Aug 30, 2023

This has the effect of setting the User-Agent header:

nreq.Header.Add("User-Agent", p.config.ServerName)

@di di merged commit 71fcf27 into main Aug 30, 2023
2 checks passed
@di di deleted the di-patch-1 branch August 30, 2023 20:48
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