Using netcat with gemini (was Re: A question regarding the spec)

On Wed Oct 28, 2020 at 1:49 PM EDT, Philip Linde wrote:
> On Wed, 28 Oct 2020 12:04:28 -0400
> "Chris Vittal" <chris at vittal.dev> wrote:
>
> > A properly formed gemini request is a fully qualified URL with a scheme
> > and authority.
>
> Not in this case. In a request, it is only necessary to specify the
> authority and optionally a path. From the spec (0.14.2):
>
> > If the scheme of the URL is not specified, a scheme of gemini:// is
> > implied.
>
> So the server really should treat both requests as equivalent.

I believe that the reason this doesn't work is because
"gemini.circumlunar.space" is treated as a relative path with no
authority. Making a request for "//gemini.circumlunar.space" works.
Perhaps this should be clarified in the specification.
Or perhaps schemes should always be required to avoid confusion.

---

Previous in thread (11 of 21): 🗣️ Philip Linde (linde.philip (a) gmail.com)

Next in thread (13 of 21): 🗣️ Chris Vittal (chris (a) vittal.dev)

View entire thread.