presto-raptor-legacy/src/main/java/io/prestosql/plugin/raptor/legacy/backup/HttpBackupStore.java/FileResponseHandler/createStatusResponse
class FileResponseHandler:        private static StatusResponse createStatusResponse(Response response)
        {
            return new StatusResponse(response.getStatusCode(), response.getStatusMessage(), response.getHeaders());
        }