title: How to use httplib as the useragent in Python
body: <p>How can I add a useragent to the following script?</p>
  
  <pre><code>#!/usr/bin/python
  
  import httplib
  saudidos = True
  while saudidos:
      conn = httplib.HTTPConnection("127.0.0.1")
      conn.request("GET", "/");
  </code></pre>