fn map_path<F>(original_uri: Uri, f: F) -> Option<Uri>where
    F: FnOnce(&str) -> Cow<'_, str>,
Expand description

Map the path of a Uri.

Returns None if the Uri cannot be put back together with the new path.