title: Python Requests Invalid URL Label error
body: <p>I'm trying to access Shopify's API which uses a URL format of - 
  <code>https://apikey:password@hostname/admin/resource.xml</code> </p>
  
  <p>e.g.<code>http://7ea7a2ff231f9f7:95c5e8091839609c864@iliketurtles.myshopify.com/admin/orders.xml</code></p>
  
  <p>doing <code>$curl api_url</code> downloads the correct XML however when I do </p>
  
  <pre><code> import requests
   api_url = 'http://7ea7a2ff231f9f7d:95c5e8091839609c864@iliketurtles.myshopify.com/admin/orders.xml'
   r = requests.get(api_url) # Invalid url label error
  </code></pre>
  
  <p>Any idea why I'm getting this? Curl / opening the link directly in the browser is working fine. Is it because the length of the URL is too long?</p>
  
  <p>Thanks!</p>