@Test
    public void testEmptyParser() throws Exception {
        //As of Tika 1.23, we're no longer returning 415 for file types
        //that don't have a parser
        //no stack traces for 415
        for (String path : PATHS) {

            Response response = WebClient
                    .create(endPoint + path)
                    .accept("*:*")
                    .put(getClass().getResourceAsStream("/test-documents/testDigilite.fdf"));
            if (path.equals("/unpack")) {
                //"NO CONTENT"
                assertEquals(204, response.getStatus(), "bad type: " + path);
            } else {
                assertEquals(200, response.getStatus(), "bad type: " + path);
                assertNotNull(response, "null response: " + path);
            }
        }
    }
Test to make sure that no stack traces are returned
when the stack trace param is set to false.
tika-server/tika-server-core/src/test/java/org/apache/tika/server/core/StackTraceOffTest.java