💾 Archived View for gemi.dev › gemini-mailing-list › 000049.gmi captured on 2024-08-18 at 23:11:16. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-12-28)

-=-=-=-=-=-=-

[ANN] More client torture tests

1. Sean Conner (sean (a) conman.org)


  Client testing time!  More tests!  This time, checking the status codes.
It's an open question as to what a client should do with an invalid succss
code and an invalid redirection status.  The rest of the results I think
should be fine.

  -spc

Link to individual message.

2. solderpunk (solderpunk (a) SDF.ORG)

On Wed, Mar 04, 2020 at 01:26:48AM -0500, Sean Conner wrote:
> 
>   Client testing time!  More tests!  This time, checking the status codes.
> It's an open question as to what a client should do with an invalid succss
> code and an invalid redirection status.  The rest of the results I think
> should be fine.

Hmm.  An invalid success code, like a 20 followed by something that
isn't a valid MIME type?  Did the spec say that the MIME type after a 2x
is optional and if unspecified defaults to text/gemini?  (checks) No, it
doesn't.  So a naked 20 is also invalid.

And I guess an invalid redirect is one without a valid URL.

It seems to me like all a client ought to do in such a scenario is to
inform its user that it received an invalid response in a graceful
manner, rather than crash?

Cheers,
Solderpunk

Link to individual message.

---

Previous Thread: Tools

Next Thread: Creating some Gemini-exclusive content