diff --git a/src/subsonic.rs b/src/subsonic.rs index 1f3d1ef..b1b9fd2 100644 --- a/src/subsonic.rs +++ b/src/subsonic.rs @@ -101,8 +101,8 @@ impl Client { ) .map_err(Error::UrlParseError)?; - if base_url.scheme() != "http" && base_url.scheme() != "https" { - return Err(Error::OtherError("url scheme is not HTTP(s)")); + if base_url.scheme() != "https" { + return Err(Error::OtherError("url scheme is not HTTPS")); } Ok(Client {