2011/6/29 Erik Bertelsen <bertelsen.e...@gmail.com>:
> 2011/6/29 Konstantin Kolinko <knst.koli...@gmail.com>:
>
>>
>> From HTTP standpoint it should be http://localhost:8080/ and in my
>> experience browsers add the trailing slash automatically. I have not
>> looked whether the actual HTTP spec is more strict regarding such
>> URLs.
>>
>
> Actually my experience is slightly different, i.e. the HTTP servers
> send a redirect which adds the trailing /.

Redirect is sent for  folder -> folder/, but here we are talking about
server root ('/').

For the server root the request itself should contain "/". That is
taken care by the browser: in an HTTP request, e.g.
GET / HTTP/1.0
 - the requested path cannot be empty, because multiple spaces are
treated as single one.


Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to