code:     private void doRedirectTest(String path, int expected) throws IOException {
          ByteChunk bc = new ByteChunk();
          int rc = getUrl("http://localhost:" + getPort() + path, bc, null);
          Assert.assertEquals(expected, rc);
      }
  
  
      /**
       * Prepare a string to search in messages that contain a timestamp, when it
       * is known that the timestamp was printed between {@code timeA} and
       * {@code timeB}.
       */
  