Fix incorrect headers parsing via environment variables by srikanthccv · Pull Request #2103 · open-telemetry/opentelemetry-python
Conversation
Description
This introduces internal parse_headers method following the spec for reading headers via environment variables. Fixes #1949
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the format that we're parsing is in the spec, i would be ok with this being a public method available in the api. It's not a huge amount of code and could be useful to others.
This was referenced
Jan 14, 2022This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters