From bb0fd0c778b3dafda957e1baa7ba9aa2b9c77ce3 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Fri, 10 Oct 2025 08:41:43 +0100 Subject: [PATCH] Update javadoc of TestRestTemplate after change to redirect behavior Closes gh-47474 --- .../springframework/boot/test/web/client/TestRestTemplate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/web/client/TestRestTemplate.java b/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/web/client/TestRestTemplate.java index 28c81ebd2d5..eae8742af49 100644 --- a/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/web/client/TestRestTemplate.java +++ b/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/web/client/TestRestTemplate.java @@ -80,7 +80,7 @@ import org.springframework.web.util.UriTemplateHandler; *

* A {@code TestRestTemplate} can optionally carry Basic authentication headers. If Apache * Http Client 4.3.2 or better is available (recommended) it will be used as the client, - * and by default configured to ignore cookies and redirects. + * and by default configured to ignore cookies. *

* Note: To prevent injection problems this class intentionally does not extend * {@link RestTemplate}. If you need access to the underlying {@link RestTemplate} use