async fn get_json<T: DeserializeOwned>(
dir: &Directory<'_>,
url: &str,
) -> Fetched<T>Expand description
One GET with the §2.3 retry rule: an unavailable directory gets one immediate retry; a 404 is an answer, not a failure.
async fn get_json<T: DeserializeOwned>(
dir: &Directory<'_>,
url: &str,
) -> Fetched<T>One GET with the §2.3 retry rule: an unavailable directory gets one immediate retry; a 404 is an answer, not a failure.