|
From: <jue...@we...> - 2004-09-02 18:42:18
|
Now wouldn't it be nice if HttpServletResponse.sendRedirect already = performed such a check and sent the appropriate status code... Juergen -----Original Message----- From: spr...@li... [mailto:spr...@li...]On Behalf Of Seth Ladd Sent: Thursday, September 02, 2004 8:32 PM To: spr...@li... Subject: Re: [Springframework-developer] Status of 303 instead of 302 in RedirectView On Thu, 2 Sep 2004 15:30:53 +0200, j=FCrgen h=F6ller [werk3AT] <jue...@we...> wrote: > http://opensource.atlassian.com/projects/spring/browse/SPR-299 >=20 > I'm not intimately familar with the HTTP spec, so I can't really judge = this. >=20 > A possible compromise could be to just send 303 in case of a POST = request, and keep sending 302 via response.sendRedirect else. Thoughts? = Experiences? It also sounds like we should send 302 always for HTTP 1.0 clients.=20 If the client is HTTP 1.1 aware, then 302 for GET and 303 for POST sounds like what the RFC wants us to do. Seth ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idP47&alloc_id=10808&op=3Dick _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |