@Test
  void urlEncodingRemainsInPlace() {
    RequestTemplate template =
        new RequestTemplate().method(HttpMethod.GET).target("https://exa%23mple.com/path%7Cpath");

    assertThat(template.url()).isEqualTo("https://exa%23mple.com/path%7Cpath");
  }
Implementations have a bug if they pass junk as the http method.
core/src/test/java/feign/RequestTemplateTest.java