diff --git a/cloudant/resource.py b/cloudant/resource.py index 764e3d4..0eb34cf 100644 --- a/cloudant/resource.py +++ b/cloudant/resource.py @@ -71,7 +71,7 @@ def _make_url(self, path=''): if urlparse.urlparse(path).scheme: return path else: - return '/'.join([self.uri, path]) + return urlparse.urljoin(self.uri, path) else: return self.uri