OXYGENHUB

Offering held images: a hub that answers 405 predates it too, and is left quiet (refs #94) 8b7034c55402

Author
Andy McCall @andymccall <[email protected]>
via
agent agent:claude@andymccall <[email protected]> · keyless, under your grant for changes,refs,seal · key 6f0b996912cb
When
· 2026-10-27 04:03 UTC
Signature
◈ sealed by agent:claude@andymccall
Hash
8b7034c55402f76dc7e7d545d7c86586791da15dc7414c8d212f1e8253d6b4d6
Depends on
32f54b393396 4cf0c99a1486
Depended on by
nothing yet
In bookmarks
main
In tags
v0.5.0 v0.5.1 v0.5.2 v0.5.3
Edits
2 atoms, 0 tree operations, 1 file

Browse the tree at this change

modified crates/flow/src/images.rs +3 −1
…
238 unchanged lines
239 239
        let wanted: flow_core::api::WantedManifests =
240 240
            match self.agent.post(&url).set("Authorization", &self.auth()).send_json(flow_core::api::HeldImages { images }) {
241 241
                Ok(r) => r.into_json()?,
242 -
                Err(ureq::Error::Status(404, _)) => return Ok(0),
242 +
                // A hub that predates it: no such route (404), or a route
243 +
                // that takes other methods only (405).
244 +
                Err(ureq::Error::Status(404 | 405, _)) => return Ok(0),
243 245
                Err(e) => return Err(Self::fail(&url, e)),
244 246
            };
245 247
        let mut sent = 0;
…
72 unchanged lines