public List<String> getHeadersAsList(String name) {
        List<String> values = parent.headers().get(name);
        if(values == null) {
            return List.of();
        }
        return parent.headers().get(name);
    }
@Test
    void testGetHeadersAsList() {
        URI uri = URI.create("http://localhost:8080/test");
        HttpRequest httpReq = newRequest(uri, HttpRequest.Method.GET, HttpRequest.Version.HTTP_1_1);
        DiscFilterRequest request = new DiscFilterRequest(httpReq);

        assertNotNull(request.getHeaderNamesAsList());
        assertEquals(request.getHeaderNamesAsList().size(), 0);

        httpReq.headers().add("header_1", "value1");
        httpReq.headers().add("header_1", "value2");

        assertEquals(request.getHeadersAsList("header_1").size(), 2);
    }