public static ResponseHandler cors(final CorsConfig... configs) {
        return new MocoCorsHandler(configs);
    }
@Test
    public void should_support_cors() throws Exception {
        server.response(cors());

        running(server, () -> {
            ClassicHttpResponse response = helper.getResponseWithHeader(root(), of("Origin", "https://www.github.com/"));
            assertThat(response.getHeader("Access-Control-Allow-Origin").getValue(), is("*"));
        });
    }