Testsuite for http clients

I wrote rhtdl with the intent of reliably, easily, and correctly downloading large files.

I now want to test its correctness and robustness, but writing a full testsuite myself is tedious and prone to mistakes...

Is there any existing http testsuite that could easily be repurposed for my library?

Things I want to test:

  1. handling of mid-air collisions (resources being modified while being downloaded)
  2. redirects, including redirects that change dynamically (eg. a "latest" link that always redirects to the latest version)