We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 03dc2ca + fa88d92 commit 136a8f9Copy full SHA for 136a8f9
1 file changed
sentry_sdk/integrations/httpx.py
@@ -183,11 +183,8 @@ async def send(
183
key=key, value=value, url=request.url
184
)
185
186
- if key == BAGGAGE_HEADER_NAME and request.headers.get(
187
- BAGGAGE_HEADER_NAME
188
- ):
189
- # do not overwrite any existing baggage, just append to it
190
- request.headers[key] += "," + value
+ if key == BAGGAGE_HEADER_NAME:
+ add_sentry_baggage_to_headers(request.headers, value)
191
else:
192
request.headers[key] = value
193
0 commit comments