Project: mesos
Issue MESOS-5259: Refactor the mesos-fetcher binary to use the uri::Fetcher as a backend
This is an intermediate step for combining the {{mesos-fetcher}} binary and {{uri::Fetcher}}. The {{download}} method should be replaced with {{uri::Fetcher::fetch}}. https://github.com/apache/mesos/blob/653eca74f1080f5f55cd5092423506163e65d402/src/launcher/fetcher.cpp#L179 Combining the two will: * Attach the {{uri::Fetcher}} to the existing Fetcher caching logic. * Remove some code duplication for downloading URIs.
Story points: 3