internal: only handle relative paths in Client.ResolveHref
Don't prepend the endpoint path in front of absolute paths.
This commit is contained in:
@@ -71,7 +71,7 @@ func (c *Client) SetBasicAuth(username, password string) {
|
||||
}
|
||||
|
||||
func (c *Client) HasSupport() error {
|
||||
classes, _, err := c.ic.Options("/")
|
||||
classes, _, err := c.ic.Options("")
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user