Proposal to drop double slashes from URL syntax
sean at conman.org
Tue Feb 9 22:22:29 GMT 2021
It was thus said that the Great Daniel Nagy once stated:
> I want to propose to drop the double slashes from the gemini URL syntax.
> The reason for this is that they dont serve any semantic value and while
> the project is still young, I think it could still be changed. So instead
> we would have:
All right. Let's assume we do this. Let's start with an existing link:
and work our way through the first few entries with the new style. The
first is a full link in the Gemini document:
That works. Our client can get the second page. The next is a schemeless
link, wihch *is* valid in text/gemini documents (but not as the request).
This will now look like:
Here we hit our first potential snag---do we have a hostname or not? In
fact, here are the links from the next few tests using your proposal:
And to further mess with things, I could add a test 0051 with a relative
Do I mean the top level page of my sever? Or the page
Because remember, you can have relative links in text/gemini documents, and
the hypothetical test 0051 has a path of
(and don't think I wouldn't do it).
> In fact, Sir Tim Berners-Lee apologized for introducing them in the
> http URL syntax. I see the following advantages and disadvantages:
Not mentioned is the alternative he would have done.
> - Less typing
> - Less wasted screenspace
> - Less transfered bytes and less stored bytes on disk and memory
We're running over TLS. There's already quite a bit of overhead, as I
- Breaks relative linking in documents.
More information about the Gemini