refactoring and expecting 302 or 200 when GETting an uploaded RPM, since the request might be satisfied by the yum-repo-server v2