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

Use a default user agent #553

Merged
merged 4 commits into from
Aug 9, 2024
Merged

Use a default user agent #553

merged 4 commits into from
Aug 9, 2024

Conversation

koplas
Copy link
Contributor

@koplas koplas commented Jul 25, 2024

Closes #500

util/client.go Outdated Show resolved Hide resolved
Copy link
Member

@bernhardreiter bernhardreiter left a comment

Choose a reason for hiding this comment

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

  • Documentation changes are missing.
  • The chosen user-agent does not seem standard compliant (see comment).

koplas and others added 2 commits July 31, 2024 11:00
 * use `csaf_distribution` with an underscore as underscores
   are allowed by RFC9110 and it is more consistent as it is used
   with underscore at other places.
 * change example to `VERSION` to indicate that this is dynamic.
@bernhardreiter
Copy link
Member

The aggregator also uses HeaderClient and also has an option in the config file. Should be documented there as well I guess?

Copy link
Contributor

@JanHoefelmeyer JanHoefelmeyer left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@bernhardreiter bernhardreiter left a comment

Choose a reason for hiding this comment

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

LGTM
@JanHoefelmeyer can you also do a functional test, please.

@JanHoefelmeyer
Copy link
Contributor

Have done a functional test, so LGTM & works

@JanHoefelmeyer JanHoefelmeyer merged commit 108c2f5 into main Aug 9, 2024
3 checks passed
@JanHoefelmeyer JanHoefelmeyer deleted the user-agent branch August 9, 2024 12:28
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.

Create unique user-agent
3 participants