Skip to content

Conversation

@waj
Copy link
Member

@waj waj commented Nov 21, 2025

This adds a Http.handlerWith function that accepts HttpSettings to configure a default timeout for all requests and automatically adds a User-Agent header. By default, the agent is set to nri-http/<version>, but it can be overridden via the settings.

It also includes a fix to prevent duplicate X-Request-ID headers from being sent with requests.

@waj waj requested a review from adauguet November 21, 2025 21:52
@waj waj enabled auto-merge November 21, 2025 21:52
Copy link
Contributor

@adauguet adauguet left a comment

Choose a reason for hiding this comment

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

Looks good! Go Canvas!

@waj waj added this pull request to the merge queue Nov 24, 2025
Merged via the queue into trunk with commit b7677b5 Nov 24, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants