RE: Why tomcat 3.x makes redirects (302) absolute ?

2000-11-05 Thread René Salle
or something. I think that's why the servlet spec says the uri is absolute. Of course, an intelligent client would know how to handle both ;) a NAT handle traffic at a lower level, ca not be able of change part of the packet transmited, perhaps with apache's reverse proxying it's

Why tomcat 3.x makes redirects (302) absolute ?

2000-11-04 Thread Nacho
Excuse my ignorance, Why tomcat 3.x makes redirects (302) absolute ? It leads to problems with NAT ( at router level ) redirects, and reverse proxys, and it can commented without aparent harm Saludos , Ignacio J. Ortega

Re: Why tomcat 3.x makes redirects (302) absolute ?

2000-11-04 Thread Craig R. McClanahan
Nacho wrote: Excuse my ignorance, Why tomcat 3.x makes redirects (302) absolute ? It leads to problems with NAT ( at router level ) redirects, and reverse proxys, and it can commented without aparent harm See servlet 2.2 specification, section 6.3, first complete paragraph. Making

RE: Why tomcat 3.x makes redirects (302) absolute ?

2000-11-04 Thread Nacho
Hola Craig: See servlet 2.2 specification, section 6.3, first complete paragraph. Making the URL absolute is required. It's required when it's used trought the convenience methods (sendRedirect sendError) not when the container send itself a redirect... and this was the reasoning behind

RE: Why tomcat 3.x makes redirects (302) absolute ?

2000-11-04 Thread Nacho
Ohh unpleasure findings ( and i do need to read the damn RFC too :-) Tomcat 3.2 seems to have another bug!!! i've obtained this ( by means of telnet ) from different http servers, after done a GET / in all of them, i obtained This is from IIS 5.0 first finding: How IIS makes this work

Re: Why tomcat 3.x makes redirects (302) absolute ?

2000-11-04 Thread Craig R. McClanahan
Nacho wrote: Ohh unpleasure findings ( and i do need to read the damn RFC too :-) Tomcat 3.2 seems to have another bug!!! i've obtained this ( by means of telnet ) from different http servers, after done a GET / in all of them, i obtained This is from IIS 5.0 first finding: How

Re: Why tomcat 3.x makes redirects (302) absolute ?

2000-11-04 Thread Remy Maucherat
- Original Message - From: "Nacho" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, November 04, 2000 9:32 PM Subject: RE: Why tomcat 3.x makes redirects (302) absolute ? Hola Craig: The fact that other servers break the rules is no excuse for Tomcat