We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37c5a41 commit cf142eaCopy full SHA for cf142ea
1 file changed
components/http/okHttp/src/main/java/com/microsoft/kiota/http/middleware/RedirectHandler.java
@@ -113,9 +113,9 @@ Request getRedirect(
113
location = request.url() + location;
114
}
115
116
- HttpUrl requestUrl = userResponse.request().url();
+ HttpUrl requestUrl = request.url();
117
118
- HttpUrl locationUrl = userResponse.request().url().resolve(location);
+ HttpUrl locationUrl = request.url().resolve(location);
119
120
// Don't follow redirects to unsupported protocols.
121
if (locationUrl == null) return null;
0 commit comments