Client testing (was Re: Text reflow woes (or: I want bullets back!))
Sean Conner sean at conman.org
Wed Aug 21 03:40:28 BST 2019
It was thus said that the Great solderpunk once stated:
> > I've made a stab at some initial tests at:
> >
> > gemini://gemini.conman.org/test/torture/
> >
> > There are currently 19 tests (0001 through 0019) and they only cover
> > resolving links (full URL, full path, relative path, relative path with ".."
> > and "." components), plus parsing of the MIME type. Comments welcome,
> > especially with tests that may be unfair or are problematic.
>
> Thanks for this! I'm happy to report that AV-98 passes with flying
> colours.
I've added two new tests. Also, the index page lists all the tests
currently available so you can resume from where you last left off.
> Although, it's already made me realise something that we haven't specced
> any behaviour for at all: how should a server respond to an empty
> request? i.e. just CRLF. Is this invalid, such that it should trigger
> a 59 response? Some servers do this, but others seem to treat it as a
> request for the root document.
It'd be an exception to not send anything. Other than that, I don't have
any real preference.
-spc
Archive home | About this archive