public static RestSettingBuilder head() {
        return all(HttpMethod.HEAD);
    }
@Test
    public void should_head_with_matcher() throws Exception {
        server.resource("targets",
                head("1").request(eq(query("name"), "foo")).response(header("ETag", "Moco"))
        );

        running(server, () -> {
            HttpResponse httpResponse = helper.headForResponse(remoteUrl("/targets/1?name=foo"));
            assertThat(httpResponse.getCode(), is(200));
        });
    }