http pipelining

Steve Holden steve at holdenweb.com
Fri Apr 27 13:50:21 EDT 2007


swq22 at yahoo.com wrote:
> Which python module is capable of  pipelining http requests?
> 
> (I know httplib can send mulitple requests per tcp connection, but in
> a strictly serial way. )
> 
> 
There's nothing in the standard library, I believe, that includes both 
client and server functionality in the same module. So you would need to 
glue them together.

If you want a simple net proxy server I seem to remember the chameleon 
system allows you to write one in about twelve lines. If it has to be 
HTTP-specific, with header parsing and the like, you might want to think 
about Twisted, which supports both client and server functionality and 
tries to make it easy to plumb things together in pipelines.

regards
  Steve
-- 
Steve Holden       +1 571 484 6266   +1 800 494 3119
Holden Web LLC/Ltd          http://www.holdenweb.com
Skype: holdenweb     http://del.icio.us/steve.holden
Recent Ramblings       http://holdenweb.blogspot.com




More information about the Python-list mailing list