[tech] default response?
Omar Polo
op at omarpolo.com
Wed Dec 30 11:55:55 GMT 2020
Petite Abeille <petite.abeille at gmail.com> writes:
>> On Dec 30, 2020, at 11:58, Omar Polo <op at omarpolo.com> wrote:
>>
>> So it isn't allowed by the spec and, personally, I don't see how
>> allowing single-digit response could be a good idea.
>
> Right. So, no more 1 digit response code (i.e. generic success "2" use to be a thing), and no more default content-type (i.e. text/gemini).
I recall reading a mail from solderpunk (or maybe was someone else)
regarding the fact that initially the codes were one digit only. Now
two are mandatory.
> So a minimal valid response would be:
>
> 20 text/gemini
> ...
> <eof>
>
> Correct?
Yup. (btw, that's how my server replies to every request for gemini
files, since charset=utf-8 seems to be redundant.)
More information about the Gemini
mailing list