a torture test

or at least as many things that epoch will think of and write down before getting distracted

send suggestions or patches to my email:

the source code for these tests

tests:

link relativity
gemtext content
weird links
no response. just closes connection.
20 response with no space so no meta
response of 20 and a space, but "empty" meta
response of 20 and a meta, but meta of just "text". so not in expected major/minor format.
response of 20 and a meta, but meta has a charset that is not utf-8
"infinite" redirect loop to the same page
"infinite" redirect loop to the same page but with an incrementing query string param

other tests:

most of sean's (of gemini.conman.org) torture tests
punycode test
a link to http, and where I downloaded the next link from
more tests to write:

verifying url length after UTF-8 encoding

send wrong charset in meta

send invalid utf-8