Does python's httplib.HTTPConnection block?
<p>I am unsure whether or not the following code is a blocking operation in python:</p>

<pre><code>import httplib
import urllib

def do_request(server, port, timeout, remote_url):
    conn = httplib.HTTPConnection(server, port, timeout=timeout)
    conn.request("POST", remote_url, urllib.urlencode(query_dictionary, True))
    conn.close()
    return True

do_request("http://www.example.org", 80, 30, "foo/bar")
print "hi!"
</code></pre>

<p>And if it is, how would one go about creating a non-blocking asynchronous http request in python?</p>

<p>Thanks from a python noob.</p>
