2011/6/29 Erik Bertelsen <[email protected]>:
> 2011/6/29 Konstantin Kolinko <[email protected]>:
>
>>
>> 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: [email protected]
For additional commands, e-mail: [email protected]