Skip to content

Conversation

@jgerbe
Copy link
Contributor

@jgerbe jgerbe commented Jan 23, 2026

Fix trace header injection for http.request() calls using URL-first signature (e.g., Google API). The proxy handler now correctly detects when the first argument is a URL string/object and injects headers into the options object at the correct position.

https://nodejs.org/api/http.html#httprequestoptions-callback
https://nodejs.org/api/http.html#httprequesturl-options-callback

@jgerbe jgerbe force-pushed the bugfix/http-request-signature branch from 36c6781 to 5e84d39 Compare January 26, 2026 13:34
@jgerbe jgerbe merged commit a8c2b5c into master Jan 26, 2026
12 checks passed
@jgerbe jgerbe deleted the bugfix/http-request-signature branch January 26, 2026 13:35
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.

5 participants