pub fn join<'a>(base: &'a str, args: &[&'a str]) -> Result<String, Error>Expand description
Create a URL by joining sections.
This will normalize ‘..’, assuming that paths are absolute (it assumes no symlinks in either path)
If any of *args is an absolute URL, it will be treated correctly. Example: join(‘http://foo’, ‘http://bar’) => ‘http://bar’ join(‘http://foo’, ‘bar’) => ‘http://foo/bar’ join(‘http://foo’, ‘bar’, ‘../baz’) => ‘http://foo/baz’