Popular recipes by Markus J http://code.activestate.com/recipes/users/4169350/2009-02-27T16:21:23-08:00ActiveState Code RecipesPython HTTP Pipelining (Python)
2009-02-27T16:21:23-08:00Markus Jhttp://code.activestate.com/recipes/users/4169350/http://code.activestate.com/recipes/576673-python-http-pipelining/
<p style="color: grey">
Python
recipe 576673
by <a href="/recipes/users/4169350/">Markus J</a>
(<a href="/recipes/tags/http/">http</a>, <a href="/recipes/tags/pipelining/">pipelining</a>).
Revision 5.
</p>
<p>Gets several pages in parallel, without threads. It exploits HTTP pipelining by resetting the state of HTTPConnection to trick it into sending the next request ahead of time.</p>
<p>More information about HTTP pipelining can be found on Wikipedia: <a href="http://en.wikipedia.org/wiki/HTTP_pipelining">http://en.wikipedia.org/wiki/HTTP_pipelining</a></p>