grillon 0.6.0

Grillon offers an elegant and natural way to approach API testing in Rust.
Documentation
1
2
3
4
5
6
7
8
use crate::error::Result;
use url::Url;

pub(crate) fn concat(base: &Url, path: &str) -> Result<Url> {
    format!("{}{}", base, path)
        .parse::<Url>()
        .map_err(|err| err.into())
}