3 ms·
Because it's presenting an implementation detail. If I change my file formats from HTML to SHTML, .jsp, .php, etc., the URL changes. If I change from files to
by dredmorbius 14y ago
Because it's presenting an implementation detail.
If I change my file formats from HTML to SHTML, .jsp, .php, etc., the URL changes.
If I change from files to directories for every possible URL instance, the URL changes.
The user shouldn't care.
- andyjohnson0 14y agoEarlier you said: "If you want to refer to a specific non-index page, you'd specify http://www.example.com/path/to/uri/somepage.html http://www.example.com/path/to/uri/somepage.html " So, is this presenting an implementation detail as well? I only asked my original question because I thought I was missing something...
- dredmorbius 14y agoFair gripe. If you'd started with the 'document'-.'html' naming convention, you could use any of numerous webserver hacks to preserve this illusion. How you request something has little to do with what the server does to satisfy your request. What I was distinguishing earlier was the distinction between 'return default index of this level of the path' and 'return a specific document from this level of the path'. Specifically indicating 'index.html' is a tad gauche.