hosea commented on code in PR #1133:
URL: https://github.com/apache/wicket/pull/1133#discussion_r2015974772


##########
wicket-request/src/main/java/org/apache/wicket/request/http/handler/RedirectRequestHandler.java:
##########
@@ -142,7 +148,7 @@ else if (mode == Mode.STATUS)
                        setStatus(response, requestCycle, location);
                }
                // Mode.AUTO
-               else if (status == HttpServletResponse.SC_MOVED_TEMPORARILY)
+               else if (status == HttpServletResponse.SC_FOUND)

Review Comment:
   Hi, SC_FOUND is the same code as SC_MOVED_TEMPORARILY (302). There is a 
comment in the source file of HttpServletResponse concerning 
SC_MOVED_TEMPORARILY: "SC_FOUND is now the preferred definition." That's the 
reason why I changed it.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to