diff --git a/requests.go b/requests.go index b3e1f7f..3b9f9c0 100644 --- a/requests.go +++ b/requests.go @@ -165,7 +165,7 @@ func (c *Client) put(path string, stream io.Reader) int { func (c *Client) createParentCollection(itemPath string) (err error) { parentPath := path.Dir(itemPath) - if parentPath == "." { + if parentPath == "." || parentPath == "/" { return nil }