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

Chris Vittal chris at vittal.dev
Wed Oct 28 17:51:50 GMT 2020


> **If the scheme of the URL is not specified, a scheme of gemini:// is
> implied.**
> (Emphasis mine.)

That is correct. I misspoke. Apologies

The issue here is that the URL text of 'gemini.circumlunar.space' is not 
an absolute URL. It has no scheme, no authority, and a path of 
'gemini.circumlunar.space'. The spec does state that the scheme is 
unnecessary, but the authority is.

 From the spec:
> This scheme is syntactically compatible with the generic URI syntax defined in RFC 3986, but does not support all components of the generic syntax. In particular, the authority component is allowed and required
Even setting the scheme to gemini, 'gemini.circumlunar.space' would be 
treated as 'gemini:gemini.circumlunar.space', so still with no 
authority, rather than what we want, which would be 
'gemini://gemini.circumlunar.space' stripping the scheme off of this, we 
get '//gemini.circumlunar.space' which I have no idea if servers will 
properly handle.

Chris


More information about the Gemini mailing list