christophwarner/PyCurl — pull request #2 by rsommer (2013-05-08 12:13:37+00:00)
Title: Use urlparse.urljoin instead of os.path.join

Using a base_url like "http://www.google.de" and calling get("/") on a curl.Curl-instance does not work.

os.path.join("http://www.google.de", "/") does not yield the expected "http://www.google.de/" but "/" which leads to

error: (3, ' malformed')

Using urljoin fixes this.