-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with [app service] / API Version [2023-01-01] #957
Comments
@xiaxyi can you provide the HTTP Requests/Responses involved here? |
sure @tombuildsstuff , here you go:
response body of the original URI is the function app object itself when trying to get the
Before function app is provisioned the response is 202+empty body, after the function app is provisioned, response is 200 + actual function app object: |
@xiaxyi have you got the full headers for both requests too? |
Sure @tombuildsstuff
This is the header of the get async
|
Is there an existing issue for this?
Community Note
Service Used
Microsoft.Web
API Versions Used
2023-01-01
Description
The api "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}" supports both LRO/ non-LRO.
the LRO is for function app on container app environment, however, the LRO poller returns error(check code #1) if the result of the polling uri is statusCode 200 + actual function app object. (we only take 200 + empty body as a succeeded polling op: see code #2)
1.
It makes sense to return the actual provisioned object by the polling uri endpoint, shall we add this scenario as well?
related issue: #542
References
No response
The text was updated successfully, but these errors were encountered: