Skip to content

Commit a08493a

Browse files
authored
Rename trace headers in HTTP utils
1 parent 85ca91e commit a08493a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

azure/durable_functions/models/utils/http_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ async def post_async_request(url: str,
2828
async with aiohttp.ClientSession() as session:
2929
headers = {}
3030
if trace_parent:
31-
headers["traceparent"] = trace_parent
31+
headers["x-client-traceparent"] = trace_parent
3232
if trace_state:
33-
headers["tracestate"] = trace_state
33+
headers["x-client-tracestate"] = trace_state
3434
async with session.post(url, json=data, headers=headers) as response:
3535
# We disable aiohttp's input type validation
3636
# as the server may respond with alternative

0 commit comments

Comments
 (0)