@Override
  public HttpResponse send(HttpRequest httpRequest) throws IOException {
    return send(httpRequest, null);
  }
@Test
  public void send_always_canonicalizesRequestUrl() throws IOException, InterruptedException {
    String responseBody = "test response";
    mockWebServer.enqueue(
        new MockResponse()
            .setResponseCode(HttpStatus.OK.code())
            .setHeader(CONTENT_TYPE, MediaType.PLAIN_TEXT_UTF_8.toString())
            .setBody(responseBody));
    mockWebServer.start();

    HttpUrl baseUrl = mockWebServer.url("/");
    String requestUrl =
        new URL(baseUrl.scheme(), baseUrl.host(), baseUrl.port(), "/%2e%2e/%2e%2e/etc/passwd")
            .toString();

    httpClient.send(get(requestUrl).withEmptyHeaders().build());

    assertThat(mockWebServer.takeRequest().getPath()).isEqualTo("/etc/passwd");
  }