File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
azurefunctions/src/main/java/com/microsoft/durabletask/azurefunctions Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1616### Breaking changes
1717
1818* Use java worker middleware to avoid wrapper method when create orchestrator function ([ #87 ] ( https://github.com/microsoft/durabletask-java/pull/87 ) )
19+ * Fixed DurableClientContext.createCheckStatusResponse to return 202 ([ #92 ] ( https://github.com/microsoft/durabletask-java/pull/92 ) )
1920
2021* to be updated
Original file line number Diff line number Diff line change @@ -70,8 +70,8 @@ public HttpResponseMessage createCheckStatusResponse(HttpRequestMessage<?> reque
7070
7171 String instanceStatusURL = baseUrl + "/runtime/webhooks/durabletask/instances/" + encodedInstanceId ;
7272
73- // Construct the response as an HTTP 201 with a JSON object payload
74- return request .createResponseBuilder (HttpStatus .CREATED )
73+ // Construct the response as an HTTP 202 with a JSON object payload
74+ return request .createResponseBuilder (HttpStatus .ACCEPTED )
7575 .header ("Location" , instanceStatusURL + "?" + this .requiredQueryStringParameters )
7676 .header ("Content-Type" , "application/json" )
7777 .body (new HttpCreateCheckStatusResponse (
You can’t perform that action at this time.
0 commit comments