Forum Discussion
Stanislas_Piro2
Jan 16, 2018Cumulonimbus
Youssef is right, when requesting http://www.example.com, the http request is
GET / HTTP/1.1
Host: www.example.com
You can find this in http rfc
If the port is empty or not given, port 80 is assumed. The semantics are that the identified resource is located at the server listening for TCP connections on that port of that host, and the Request-URI for the resource is abs_path. If the abs_path is not present in the URL, it must be given as "/" when used as a Request-URI (Section 5.1.2).