Proposal to drop double slashes from URL syntax
- 🗣️ From: Baschdel (baschdel (a) disroot.org)
- 📅 Sent: 2021-02-09 21:16
- 📧 Message 10 of 14
On 09.02.21 17:12, Daniel Nagy wrote:
> Hello,
Hello!
> Advantages:
> ?- Less typing
That's the only real advantage I see of this proposal. (Humans are lazy)
However as it was already explained it is a part of the URL/URI
standard, without which we couldn't reuse already existing code and we
would have to add special cases everywhere.
There are two scenarios one would want to type less:
- The address bar of a broser
- Hand written gemini markup
For browser address baers you can add special cases and whatever bells
and whistles and autocompletion you like as most webbrowsers currently
do, just make sure that documents that do not conform to the standard
get what they deserve.
For your gemini documents just use relative uris by leaving out the
scheme or the path.
# Example
=> gemini://example.org/some_file.gmi
=> //example.org/some_file.gmi
=> /some_file.gmi
If you got the ones above in any document served over gemini from a
server at example.org they will all point to the same resource
---
Previous in thread (9 of 14): 🗣️ Alex // nytpu (alex (a) nytpu.com)
Next in thread (11 of 14): 🗣️ Daniel Nagy (danielnagy (a) posteo.de)
View entire thread.