[tech] default response?
Omar Polo
op at omarpolo.com
Wed Dec 30 10:58:40 GMT 2020
Petite Abeille <petite.abeille at gmail.com> writes:
> Is this a valid response? Just 2, followed by text/gemini content?
>
> 2
> ...
> <eof>
>
> In other words: ↝ 2 ↝ 20 ↝ text/gemini ↝ text/gemini;charset=utf-8
>
> Kosher?
gemini://gemini.circumlunar.space/docs/specification.gmi
> Gemini response headers look like this:
>
> <STATUS><SPACE><META><CR><LF>
>
> <STATUS> is a two-digit numeric status code, as described below in 3.2 and in
> Appendix 1.
So it isn't allowed by the spec and, personally, I don't see how
allowing single-digit response could be a good idea.
More information about the Gemini
mailing list