Fix incorrect headers parsing via environment variables by srikanthccv · Pull Request #2103 · open-telemetry/opentelemetry-python

Conversation

@srikanthccv

Description

This introduces internal parse_headers method following the spec for reading headers via environment variables. Fixes #1949

codeboten

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.

ocelotl

owais

ocelotl

This was referenced

Jan 14, 2022

Labels