support some mirror dist url like /package/download/package-version.tgz and url redirect