The HTTP request sent from the browser to the server does not include the domain name, only the "path" portion (starting from the first slash after the domain name). Since the path cannot be empty, a /
is sent in that case.
A sample GET request for the root of a web site might be:
GET / HTTP/1.0
The /
above cannot be omitted.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…