title: problem sending an HTTPGET with PyCurl
body: <p>I am having problems converting the following curl command into PyCurl:</p>
  
  <p><code>curl -k --cert /tmp/blablabla "https://blablabla"</code></p>
  
  <p>My attempt so far is shown below:</p>
  
  <pre><code>c = pycurl.Curl()
  c.setopt(pycurl.URL, submit_url)
  c.setopt(pycurl.HTTPGET, 1)
  b = StringIO.StringIO()
  c.setopt(pycurl.WRITEFUNCTION, b.write)
  c.setopt(pycurl.FOLLOWLOCATION, 1)
  c.setopt(pycurl.MAXREDIRS, 5)
  c.setopt(pycurl.SSLCERT, cert)
  c.setopt(pycurl.CAPATH,'/bla/bla/bla')
  c.perform()
  c.close()
  </code></pre>
  
  <p>This does not work. If anyone could tell me where I am going wrong that would be great!</p>