Get input on gemini

u9000 u9000 at posteo.mx
Sat Jul 17 23:23:29 BST 2021


On Sat, 2021-07-17 at 12:00 +0100, gemini-request at lists.orbitalfox.eu
wrote:
> If QUERY_STRING cgi variable is empty, return an input prompt:
> 
> 10 Some prompt text\r\n

This reminds me of a possible ambiguity in the spec that I noticed. (I
would have brought this up earlier if I remembered.) The specification
says the following about responses:
>> Gemini response[s] consist of a single CRLF-terminated header line,
>> optionally followed by a response body.

It also says that clients must recognize both CRLF and LF as line-
terminators, with the exception of responses requiring CRLF. Does this
mean that capsules can surve multi-line prompts by including LFs (not
CRLFs) within the <META> portion of the response?

> references:
> gemini://gemini.circumlunar.space/docs/specification.gmi

-- 
u9000 (Nine)
They, Them, Theirs



More information about the Gemini mailing list