💾 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
⬅️ Previous capture (2023-12-28)
-=-=-=-=-=-=-
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
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
---