Skip to content

Commit f0c8529

Browse files
committed
Use canonical content type header casing
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4608fda7-552e-4297-a493-96bbeac57614
1 parent 758c03d commit f0c8529

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • azure-functions-durable/azure/durable_functions

azure-functions-durable/azure/durable_functions/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ def create_check_status_response(
272272
body=str(payload),
273273
status_code=202,
274274
headers={
275-
'content-type': 'application/json',
275+
'Content-Type': 'application/json',
276276
# Match v1: Location points at statusQueryGetUri, which includes
277277
# the required query string (webhook key / task hub / connection)
278278
# so a client that follows the header is authorized.
@@ -704,7 +704,7 @@ def create_check_status_response(
704704
body=str(payload),
705705
status_code=202,
706706
headers={
707-
"content-type": "application/json",
707+
"Content-Type": "application/json",
708708
"Location": payload["statusQueryGetUri"],
709709
"Retry-After": "10",
710710
},

0 commit comments

Comments
 (0)