Files
Paweł Gronowski 80975e2c75 remotes/docker: Propagate registry warnings to resolver
According to the OCI distribution spec registries may include
informational warnings in HTTP Warning headers:

- e612a6e1e1/spec.md (warnings)
- https://www.rfc-editor.org/rfc/rfc7234#section-5.5

This change implements support for handling these warnings and
propagating them to the resolver.

This patch adds a new, optional WarningHandler interface field to
ResolverOptions that allows callers to receive and process warnings sent
by registries via HTTP Warning headers with warn-code 299.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-07-13 12:15:30 +02:00
..
2026-03-15 18:24:14 +01:00