presto-raptor-legacy/src/main/java/io/prestosql/plugin/raptor/legacy/backup/HttpBackupStore.java/FileResponseHandler/handle
class FileResponseHandler:        @Override
        public StatusResponse handle(Request request, Response response)
                throws IOException
        {
            StatusResponse status = createStatusResponse(response);
            if (isOk(status)) {
                writeFile(response.getInputStream());
            }
            return status;
        }