Re:To www or not www
by tomatsu on Saturday March 18, 2017 @07:18PM
(#13904016)
I always thought it was odd when they go with the whole "http://www." voodoo ritual, but then they skip the final slash after the domain.
[ Parent
| on HN ]
AFAIK the lack of a path part is allowed in an HTTP URL per RFC2616.
http_URL = "http:" "//" host [ ":" port ] [ abs_path [ "?" query ]]
> If the abs_path is not present in the URL, it MUST be given as "/" when used as a Request-URI for a resource (section 5.1.2).Browsers may differ on whether they auto-fix schemaless URIs, but they're all required to fix path-less URIs. So it's much "safer" to use them.