@Test void traceMethodDisallowed() {
    // trace method is disallowed for any route but we just test couple of paths here, can't test them all
    Arrays.stream(new String[]{"/", "/api/v2/traces", "/whatever/and/not"}).forEach(path -> {
      final Response response;
      try {
        response = client.newCall(new Request.Builder().url(url(server, path))
          .method("TRACE", null).build())
          .execute();
        assertThat(response.isSuccessful()).isFalse();
        assertThat(response.code()).isEqualTo(HttpStatus.METHOD_NOT_ALLOWED.code());
      } catch (IOException e) {
        throw new RuntimeException(e.getMessage(), e);
      }
    });
  }
Simulate a proxy which forwards / to zipkin as opposed to resolving / -> /zipkin first
zipkin-server/src/test/java/zipkin2/server/internal/ITZipkinServer.java