Skip to main content

acdp_server/registry/
safe_http.rs

1//! Server-side re-exports of the shared SSRF defense primitives.
2//!
3//! The actual implementation lives in [`acdp_safe_http`] so client-side
4//! code (e.g. `CrossRegistryResolver`) can use the same policy without
5//! enabling the `server` feature. This module exists for back-compat with
6//! `acdp::registry::safe_http::SsrfPolicy` import paths.
7
8pub use acdp_primitives::limits::{MAX_CONTEXT_BYTES, MAX_METADATA_BYTES, MAX_REDIRECTS};
9pub use acdp_safe_http::SsrfPolicy;