- Package Name: azure-core
- Package Version: 1.24.0
- Operating System: Windows
- Python Version: 3.8.10
Describe the bug
The following PR introduces support for "final-state-via":
But, this document says "Azure-AsyncOperation" has higher priority:
Is there an inconsistency when we have both "Azure-AsyncOperation" and "Location" (with final-state-via) is the header?
To Reproduce
E.g., we have a header like this:
headers:
...
azure-asyncoperation:
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/ca9109a1-acc0-499d-8c9f-9fb75e72050d?api-version=2021-08-01
...
location:
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operationResults/ca9109a1-acc0-499d-8c9f-9fb75e72050d?api-version=2021-08-01
azure-core==1.21.1 will always go through "azure-asyncoperation", but azure-core==1.24.0 will go through "location", like:
Expected behavior
Version upgrades keep consistent behavior for long running operations.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Describe the bug
The following PR introduces support for "final-state-via":
But, this document says "Azure-AsyncOperation" has higher priority:
Is there an inconsistency when we have both "Azure-AsyncOperation" and "Location" (with final-state-via) is the header?
To Reproduce
E.g., we have a header like this:
azure-core==1.21.1 will always go through "azure-asyncoperation", but azure-core==1.24.0 will go through "location", like:
requirements.py3.Linux.txtazure-cli-extensions#4811Expected behavior
Version upgrades keep consistent behavior for long running operations.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.