TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

URLs are Directories

4 pointsby qwtelalmost 7 years ago

1 comment

jepleralmost 7 years ago
http(s) URLs are <i>NOT</i> necessarily directories. From RFC1738, no doubt superseded by some other wordier RFC, referring specifically to the HTTP protocol:<p><pre><code> Within the &lt;path&gt; and &lt;searchpart&gt; components, &quot;&#x2F;&quot;, &quot;;&quot;, &quot;?&quot; are reserved. The &quot;&#x2F;&quot; character may be used within HTTP to designate a hierarchical structure. </code></pre> Note the key use of the word &#x27;may&#x27;!