title: How do I save a file using python's httplib2?
body: <p>I can run the following code:</p>
  
  <pre><code>import httplib2
  
  h = httplib2.Http('.cache')
  
  response, content = h.request('http://2.bp.blogspot.com/-CXFfl9luHPM/TV-Os6opQfI/AAAAAAAAA2E/oCgrgvWqzrY/s1600/cow.jpg')
  
  print(response.status)
  
  with open('cow.jpg', 'wb') as f:
      f.write(content)
  </code></pre>
  
  <p>When I run the code, I download a file called cow.jpg which is what I want, but I also get a duplicate image with a different name called: 2.bp.blogspot.com,-CXFfl9luHPM,TV-Os6opQfI,AAAAAAAAA2E,oCgrgvWqzrY,s1600,cow.jpg,77ba31012a25509bfdc78bea4e1bfdd1. It's the http address with commas plus other junk. Any ideas on how I can create only one image using httplib2?  Thanks.</p>