Skip to main content

normalize_base_url

Function normalize_base_url 

Source
pub fn normalize_base_url(url: Url) -> Url
Expand description

Make a base URL end with /.

Url::join drops the base’s last path segment unless the base ends with /. Idempotent.