[EMAIL PROTECTED] wrote:
I _think_ not all web servers will handle this added '/' the same way. I cannot provide any concrete examples, but this type of stuff is very
touchy, since not all web servers implement URL handling the same way,
just like lots of them break HTTP 1.0/1.1 standards, etc.

Both the HTTP 1.0 and 1.1 specifications require that Request-URI contain at least a slash:


   Note that the absolute
   path cannot be empty; if none is present in the original URI, it must
   be given as "/" (the server root).

A compliant browser always sends the slash, as Nutch does. These URLs are not constructed by servers, but by people. If we don't add the slash then lots of servers complain about invalid requests.

Doug


------------------------------------------------------- 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_id=5047&alloc_id=10808&op=click _______________________________________________ Nutch-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to