We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65e0022 commit 4246b02Copy full SHA for 4246b02
sentry_sdk/integrations/httpx.py
@@ -135,11 +135,8 @@ async def send(
135
key=key, value=value, url=request.url
136
)
137
138
- if key == BAGGAGE_HEADER_NAME and request.headers.get(
139
- BAGGAGE_HEADER_NAME
140
- ):
141
- # do not overwrite any existing baggage, just append to it
142
- request.headers[key] += "," + value
+ if key == BAGGAGE_HEADER_NAME:
+ add_sentry_baggage_to_headers(request.headers, value)
143
else:
144
request.headers[key] = value
145
0 commit comments