@Test
void requestURI() {

    var request = new HTTPRequest(HTTPMethod.POST, "http://localhost/uri");
    assertThat(request.requestURI()).isEqualTo("http://localhost/uri");
    request.params.put("query", "value");
    assertThat(request.requestURI()).isEqualTo("http://localhost/uri?query=value");
    request = new HTTPRequest(HTTPMethod.POST, "http://localhost/uri?q1=v1");
    request.params.put("q2", "v2");
    assertThat(request.requestURI()).isEqualTo("http://localhost/uri?q1=v1&q2=v2");
}