Skip to content

Comments

Add configurable User-Agent to all HTTP clients#1

Merged
andrew merged 3 commits intomainfrom
user-agent
Feb 10, 2026
Merged

Add configurable User-Agent to all HTTP clients#1
andrew merged 3 commits intomainfrom
user-agent

Conversation

@andrew
Copy link
Contributor

@andrew andrew commented Feb 9, 2026

Adds a WithUserAgent option to the NewClient factory (default "enrichment"). Threads the user-agent through to EcosystemsClient, RegistriesClient, DepsDevClient, and scorecard Client so all outgoing HTTP requests include a User-Agent header. Includes tests.

Adds WithUserAgent option to NewClient factory. Default is 'enrichment'.
Threads user-agent through to EcosystemsClient, RegistriesClient,
DepsDevClient, and scorecard Client. All outgoing HTTP requests now
include a User-Agent header.
@andrew andrew merged commit d12c206 into main Feb 10, 2026
2 checks passed
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