💾 Archived View for rawtext.club › ~sloum › geminilist › 000492.gmi captured on 2020-11-07 at 01:31:48. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2020-09-24)
-=-=-=-=-=-=-
solderpunk solderpunk at SDF.ORG
Wed Mar 4 09:54:16 GMT 2020
- - - - - - - - - - - - - - - - - - - ``` 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 thatisn't a valid MIME type? Did the spec say that the MIME type after a 2xis optional and if unspecified defaults to text/gemini? (checks) No, itdoesn'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 toinform its user that it received an invalid response in a gracefulmanner, rather than crash? Cheers,Solderpunk