1 2 3 4 5 6 7 8 9 10 11 12
//! URL safety and SSRF-prevention helpers. //! //! - HSTS directive parsing //! - SSRF-safe DNS resolution and redirect policy //! - URL validation before dispatching a request mod hsts; pub(crate) mod safe_resolver; mod url_validation; pub(crate) use hsts::parse_hsts_directive; pub use url_validation::{ssrf_safe_redirect_policy, validate_url_safe};