You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we support "not found" and "other" errors, nothing more.
We may want to improve this, plus, add extra informations about errors, like is the request retryable, etc.
For example: 410 Gone would be classified as "other".
I would start simple by classifying 410 as not found (cached). Having more than those two existing classifications with potentially configurable caching behavior requires more changes.
Activity
kwin commentedon Jan 28, 2026
Compare with https://maven.apache.org/resolver/local-repository.html#Error_Handling_and_Caching
kwin commentedon Jan 28, 2026
I would start simple by classifying 410 as not found (cached). Having more than those two existing classifications with potentially configurable caching behavior requires more changes.
cstamas commentedon Jan 29, 2026
Agreed: lets update HTTP transports and make them handle 404 and 410 the same.
apacheGH-1773: Treat 410 Gone as 404 Not Found
apacheGH-1773: Treat 410 Gone as 404 Not Found
GH-1773: Treat 410 Gone as 404 Not Found (#1774)
apacheGH-1773: Treat 410 Gone as 404 Not Found (apache#1775)