-
Notifications
You must be signed in to change notification settings - Fork 624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Repeated headers list for ASGI frameworks #2361
Repeated headers list for ASGI frameworks #2361
Conversation
...tation/opentelemetry-instrumentation-asgi/src/opentelemetry/instrumentation/asgi/__init__.py
Show resolved
Hide resolved
@samuelcolvin please rebase |
Okay, think this is good. I got so confused about all the wsgi based web frameworks, some use enviroment variables to pass request headers (and repsonse headers? 🤷 ) some don't, sometimes. It's not helped by the fact that lots of the tests combine "multiple" headers into one key-value pair with comma separation. I therefore reverted all the changes in wsgi and flask, and concentrated on getting the ASGI based frameworks right. |
instrumentation/opentelemetry-instrumentation-fastapi/tests/test_fastapi_instrumentation.py
Outdated
Show resolved
Hide resolved
util/opentelemetry-util-http/src/opentelemetry/util/http/__init__.py
Outdated
Show resolved
Hide resolved
Hey gentle ping, are you still working on this? |
Sorry, I've been busy and dropped the ball, I'll try to fix soon.
Samuel
…On Wed, 5 Jun 2024, 19:20 Leighton Chen, ***@***.***> wrote:
@samuelcolvin <https://github.com/samuelcolvin>
Hey gentle ping, are you still working on this?
—
Reply to this email directly, view it on GitHub
<#2361 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA62GGJJ2B6XQPELBV7F56LZF5JGLAVCNFSM6AAAAABE7Y4VZCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJQGY4DCMZVGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Description
Use a list, rather than a comma separate string to represent repeated HTTP request and response headers.
fixes #2360
fixes #2358
followup to #2266
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
tests updated
Does This PR Require a Core Repo Change?
Checklist:
See contributing.md for styleguide, changelog guidelines, and more.