Skip to main content

Module safe_http

Module safe_http 

Source
Expand description

Server-side re-exports of the shared SSRF defense primitives.

The actual implementation lives in acdp_safe_http so client-side code (e.g. CrossRegistryResolver) can use the same policy without enabling the server feature. This module exists for back-compat with acdp::registry::safe_http::SsrfPolicy import paths.

Structs§

SsrfPolicy
SSRF policy applied to outbound HTTP requests.

Constants§

MAX_CONTEXT_BYTES
Maximum body bytes for a context retrieval (RFC-ACDP-0006 §7.3).
MAX_METADATA_BYTES
Maximum body bytes for capabilities or DID documents (§7.3).
MAX_REDIRECTS
Maximum HTTP redirects to follow (§7.5).