On 25/01/2018 02:38, bill-auger wrote: > in the case of the 'www.' sub-domain in 'http://www.foo.com', that > clearly identifies the HTTP "World Wide Web" server of foo.com As a somewhat relevant side issue, what are the rules or conventions regarding URLs with unadorned directory or file components, like "http://www.foo.com"?
After reading up the other day, my understanding is that since a trailing slash indicates something like a directory resource depending on context, "http://www.foo.com" should canonically be represented as "http://www.foo.com/". The web server will resolve this "directory" to "http://www.foo.com/index.html" or something similar. Do I understand correctly? What are the history and rules regarding this? Is there an RFC or some other authoritative resource that explains it? Andrew -- OpenPGP key: EB28 0338 28B7 19DA DAB0 B193 D21D 996E 883B E5B9 -- OpenPGP key: EB28 0338 28B7 19DA DAB0 B193 D21D 996E 883B E5B9
