core/src/main/java/org/nanohttpd/protocols/http/response/Response.java
public static Response newChunkedResponse(IStatus status, String mimeType, InputStream data) {
        return new Response(status, mimeType, data, -1);
    }
public static Response newChunkedResponse(IStatus status, String mimeType, InputStream data) {
        return new Response(status, mimeType, data, -1);
    }
Create a response with unknown length (using HTTP 1.1 chunking).