💾 Archived View for gemi.dev › gemini-mailing-list › 000491.gmi captured on 2023-11-04 at 12:52:08. Gemini links have been rewritten to link to archived content

View Raw

More Information

➡️ Next capture (2023-12-28)

-=-=-=-=-=-=-

Requiring schemes in Gemini requests

Adnan Maolood <me (a) adnano.co>

Not requiring schemes in Gemini requests has led to lots of confusion.
I propose that Gemini requests must contain a scheme.

This will make things simpler for server authors, who will not have to
check for the scheme "gemini" as well as check for an empty scheme.
Some servers do not properly handle this anyways.

Linking to a URL without a scheme should still work. It would be up to
the client to resolve the URL reference before making the request. This
functionality should already be provided by whatever library the client
uses to handle relative URLs.

Link to individual message.

acdw <acdw (a) acdw.net>

On 2020-11-24 (Tuesday) at 21:44, Adnan Maolood <me at adnano.co> wrote:

> Not requiring schemes in Gemini requests has led to lots of confusion.
> I propose that Gemini requests must contain a scheme.
> 
> This will make things simpler for server authors, who will not have to
> check for the scheme "gemini" as well as check for an empty scheme.
> Some servers do not properly handle this anyways.
> 
> Linking to a URL without a scheme should still work. It would be up to
> the client to resolve the URL reference before making the request. This
> functionality should already be provided by whatever library the client
> uses to handle relative URLs.
>

I very much agree with this, and there's recently been a long discussion 
on the very matter: https://lists.orbitalfox.eu/archives/gemini/2020/003361.html

I don't recall it being resolved, however.  I think the Gemini spec should 
be revised to be compliant with the URL RFCs.

-- 
~ acdw
acdw.net | breadpunk.club/~breadw

Link to individual message.

Ben Goldberg <ben (a) benaaron.dev>

I also agree. I just finished implementing this in my gemini server and 
it was a pain. I had to switch from a URL parser to a URI parser.

Link to individual message.

Sean Conner <sean (a) conman.org>

It was thus said that the Great Ben Goldberg once stated:
> I also agree. I just finished implementing this in my gemini server and 
> it was a pain. I had to switch from a URL parser to a URI parser.

  Agree.  As I mentioned earlier [1], 0.2% of all requests were schemeless
to my server, and only three clients accounted for that traffic.  Make the
Gemini request a full URL.

  -spc

[1]	https://lists.orbitalfox.eu/archives/gemini/2020/003392.html

Link to individual message.

Solderpunk <solderpunk (a) posteo.net>

On Wed Nov 25, 2020 at 3:57 AM CET, Sean Conner wrote:
>
> Agree. As I mentioned earlier [1], 0.2% of all requests were schemeless
> to my server, and only three clients accounted for that traffic. Make
> the
> Gemini request a full URL.

I think I'm happy with this, does anybody object?

Cheers,
Solderpunk

Link to individual message.

Arav K. <nothien (a) uber.space>

> I think I'm happy with this, does anybody object?

No, this is a great idea.  It's also been confusing a lot of people
(iirc) about what is a valid URL without a scheme (e.g. //example.com)
so making it absolutely clearly is a win.

Link to individual message.

Sean Conner <sean (a) conman.org>

It was thus said that the Great Arav K. once stated:
> > I think I'm happy with this, does anybody object?
> 
> No, this is a great idea.  It's also been confusing a lot of people
> (iirc) about what is a valid URL without a scheme (e.g. //example.com)
> so making it absolutely clearly is a win.

  I've gone ahead and removed the schemeless support from GLV-1.12556 in the
hopes this pushes other people to do the same, and get Solderpunk to update
the specification.

  -spc

Link to individual message.

---

Previous Thread: [ANN] gmitohtml, a Gemini to HTML proxy written in Go

Next Thread: [ANN] Capsule announcement - ur.gs