If you like to test your web browser/client with httest, you need in all cases a test server, which delivers the content. Your httest server could deliver a error phrone reponse to test if your web browser can handle this or not.
For example you could test if the client handles a redirect correctly.
The following script will give you a good starting point for your own tests.
Simple Test Server
_EXPECT . "GET / HTTP/1.1"
__HTTP/1.1 302 Found
_EXPECT . "GET /foo/bar HTTP/1.1"
__HTTP/1.1 200 OK
Connect your client to localhost:8080 and send the request GET / HTTP/1.1 to the test server. The test server will deliver a redirect to /foo/bar. The second request the server expecst must be GET /foo/bar HTTP/1.1 else redirect did not work correctly. You could extend the redirect test with parameters.