Skip to content
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

Provider helpers to easily overwrite Url query parameters #1907

Open
heaths opened this issue Nov 9, 2024 · 0 comments
Open

Provider helpers to easily overwrite Url query parameters #1907

heaths opened this issue Nov 9, 2024 · 0 comments
Assignees
Labels
Azure.Core The azure_core crate Client This issue points to a problem in the data-plane of the library.

Comments

@heaths
Copy link
Member

heaths commented Nov 9, 2024

According to the REST API guidelines, clients should set or overwrite the api-version header for any request to the service including pageables and LROs; however, url::Url doesn't define an easy way of overwriting headers. We have helpers for appending and should add some for setting/overwriting because the code to do so - which we need to do for every request to the service - is a bit verbose.

See this comment for context.

@heaths heaths added Azure.Core The azure_core crate Client This issue points to a problem in the data-plane of the library. labels Nov 9, 2024
@heaths heaths self-assigned this Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure.Core The azure_core crate Client This issue points to a problem in the data-plane of the library.
Projects
None yet
Development

No branches or pull requests

1 participant