public static String from(Path path) {
        return from(path.toString());
    }
@Test
    void testTextContentType() {
        assertThat(ContentType.from(Path.of("index.txt"))).isEqualTo(TEXT_PLAIN);
    }