Closed
Description
I noticed that in the chain method within chain.ts, http.request is being used with headers as a string array instead of an object. This behavior is undocumented and could potentially cause issues in the future. Currently, OpenTelemetry auto-instrumentation is affected because it expects headers to be an object.
Is there a specific reason for using an array for headers? If not, I have opened a pull request to address this issue.
Metadata
Metadata
Assignees
Labels
No labels