-
Notifications
You must be signed in to change notification settings - Fork 38.4k
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
Introduce API for not following redirects in RestClient
#32795
Comments
RestClient
This request is quite similar to #32800. For example, Such options are better handled at the request factory level and should not be promoted at a higher level. |
How do you suggest testing redirects? I'm noting this is also a limitation of I currently believe there may also be an oauth workflow where the original response contains data not retrievable after the redirect. |
see in my test the uri I'm giving is just a fake uri, and then the test blows up because it's not real. All I'd care about is that a redirect was being successfully issued. I'm not entirely certain what the advantage of using these facades are in 2024. I'm going to see if it's significantly more work to use a raw client.
|
I don't see a simple way to tell rest client to not automatically follow redirects, either on a per request way or global client level setting.
Spring v6.1.6
The text was updated successfully, but these errors were encountered: