Clarification of current spec
Bradley D. Thornton Bradley at NorthTech.US
Thu Sep 19 06:54:58 BST 2019
On 9/18/2019 7:33 PM, Brian Evans wrote:
>
> While building all of this out I have been using existing servers for testing. It seems that there is a good
> amount of variation, particularly concerning tabs and spaces.
>
> I am wanting clarity on whether this is correct:
> <two digit status number><space><meta>
>
> or this is correct:
> <two digit status number><tab><meta>
>
> The same question applies to gemini docs. My understanding was that this is correct:
>
> <magic string><url><space><...text>
>
> However, I am seeing tab instead of space in the wild.
>
> Is this just a simple matter of different servers conforming to different stages of the development spec?
> Should my client support both? It is certainly doable, but a little annoying.
You may be seeing a lot of variation on my servers as I switch between
<space> and <tab> for my own redability. According to the document you
reference below, the standard calls for white space being either tabs or
spaces. i.e.,:
<snip>
1.3.5.2 Link syntax
Link lines have the following format:
=>[<whitespace>]<URL>[<whitespace><USER-FRIENDLY LINK NAME>]<CR><LF>
where:
* <whitespace> is any non-zero number of consecutive spaces or
tabs
</snip>
>
> Lastly, is the spec as written at: gopher://zaibatsu.circumlunar.space:70/0/~solderpunk/gemini/spec-spec.txt
I hope that helps :)
--
Bradley D. Thornton
Manager Network Services
http://NorthTech.US
TEL: +1.310.421.8268
Archive home | About this archive