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

Allow custom user agent string via zypp.conf download.user_agent (zypper#382) #299

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

mlandres
Copy link
Member

@mlandres mlandres commented Mar 8, 2021

A bit clean-up. User agent string and some timeout values can be initialized and provided by the TransferSettings.
Custom user agent string tajen from ZConfig.

TransferSettings schould be initialized with config defaults,
so there is no need to explicitely set them twice after construction.
…/zypper#382)

New zypp.conf option download.user_agent allowas to define a custom
user agent string passed down to libcurl when downloading files. If
not defined or empty we use the builtin default telling the zypp
version, distribution and architecture.
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.

None yet

1 participant