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

Enhancements to RedirectPolicy #39959

Open
alzimmermsft opened this issue Apr 29, 2024 · 0 comments
Open

Enhancements to RedirectPolicy #39959

alzimmermsft opened this issue Apr 29, 2024 · 0 comments
Labels
Azure.Core azure-core

Comments

@alzimmermsft
Copy link
Member

Right now, RedirectPolicy is completely stateless, meaning every time an SDK client makes a request using the same URL it will go through the redirection process (if applicable). We should investigate inspecting the HTTP redirect status code to perform possible optimizations such as mapping to the final URL if a status code such as 301 or 308 are returned which indicate permanent redirection.

@alzimmermsft alzimmermsft added the Azure.Core azure-core label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure.Core azure-core
Projects
Status: No status
Development

No branches or pull requests

1 participant