One of the recurring discussion the p2 and ECF teams have had, is how the heck do we test http servers, especially those being problematic?<ATT00001.c>
While looking around in the apache http client code base I came across this package called: org.apache.commons.httpclient.server which seems all about " A simple, but extensible HTTP server, mostly for testing purposes.". The code is visible here http://hc.apache.org/httpclient-3.x/xref-test/ and can of course be downloaded from the apache SVN repo http://hc.apache.org/httpclient-3.x/scm-usage.html.
This looks fairly promising esp that it seems to be fairly broadly use in the apache client test infrastructure.
What do you think?