Skip to content

Fix incorrect headers parsing via environment variables#2103

Merged
lzchen merged 10 commits intoopen-telemetry:mainfrom
srikanthccv:issue-1949
Sep 20, 2021
Merged

Fix incorrect headers parsing via environment variables#2103
lzchen merged 10 commits intoopen-telemetry:mainfrom
srikanthccv:issue-1949

Conversation

@srikanthccv
Copy link
Copy Markdown
Member

Description

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

@srikanthccv srikanthccv marked this pull request as ready for review September 6, 2021 19:10
@srikanthccv srikanthccv requested a review from a team September 6, 2021 19:10
Copy link
Copy Markdown
Contributor

@codeboten codeboten left a comment

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 ocelotl self-requested a review September 16, 2021 16:28
@srikanthccv srikanthccv added the Approve Public API check This label shows that the public symbols added or changed in a PR are strictly necessary label Sep 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Approve Public API check This label shows that the public symbols added or changed in a PR are strictly necessary

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use w3c format for reading headers via environment variables

5 participants