Skip to main content

parse_origin_url

Function parse_origin_url 

Source
pub fn parse_origin_url(raw: &str) -> Result<OriginUrl, Error>
Expand description

Parse and normalize an origin base URL. This is the single source of truth for origin-URL validation — config resolution and test helpers both go through it, and the returned OriginUrl carries the scheme/path/query invariants in the type.