conn.setRequestProperty("Cache-Control", "no-transform");
conn.setRequestMethod("HEAD");
conn.connect();
hash = conn.getHeaderField("ETag").replace("\"", "");
fileSizes[i] = conn.getContentLength();
conn.disconnect();
totalDownloadSize += fileSizes[i];
} catch (Exception e) {
Logger.logWarn("Authlib checksum download failed", e);
return false;
}