title: "Insecure HTTP requests not permitted. Use HTTPS." when trying to retrieve user with gdata 2.0.16 python library
body: <p>I'm trying to retrieve a user with the following code found in the <a href="http://code.google.com/googleapps/domain/provisioning_API_v2_developers_guide.html#RetrieveAccountPython">gdata provisioning api documentation</a>. I'm attempting this for a <code>django 1.3</code> app, running <code>gdata-2.0.16</code> in <code>python2.7</code>:</p>
  
  <pre><code>from gdata.apps import client
  from myapp import settings
  client = client.AppsClient(domain=settings.GOOGLE_ADMIN_DOMAIN)
  client.ClientLogin(email=settings.GOOGLE_ADMIN_EMAIL, password=settings.GOOGLE_ADMIN_PASSWORD, source='apps')
  user_account = client.RetrieveUser('user_name')
  </code></pre>
  
  <p>For privacy, I changed the actual username to <code>'user_name'</code>, but that's the general gist of the code.</p>
  
  <p>When the interpreter gets to the last line in the code above, I get the following error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "&lt;console&gt;", line 1, in &lt;module&gt;
    File "/usr/local/lib/python2.7/dist-packages/gdata/apps/client.py", line 182, in RetrieveNickname
      return self.GetEntry(uri, desired_class=gdata.apps.data.NicknameEntry)
    File "/usr/local/lib/python2.7/dist-packages/gdata/client.py", line 652, in get_entry
      desired_class=desired_class, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/gdata/client.py", line 319, in request
      RequestError)
  RequestError: Server responded with: 403, &lt;HTML&gt;
  &lt;HEAD&gt;
  &lt;TITLE&gt;Insecure HTTP requests not permitted.  Use HTTPS.&lt;/TITLE&gt;
  &lt;/HEAD&gt;
  &lt;BODY BGCOLOR="#FFFFFF" TEXT="#000000"&gt;
  &lt;H1&gt;Insecure HTTP requests not permitted.  Use HTTPS.&lt;/H1&gt;
  &lt;H2&gt;Error 403&lt;/H2&gt;
  &lt;/BODY&gt;
  &lt;/HTML&gt;
  </code></pre>
  
  <p>I can't find anything in the documentation on using HTTPS instead of HTTP. What am I missing?</p>