Re: http pipelining



swq22@xxxxxxxxx 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. )

Oops, sorry, you meant sending requests in parallel, right?

You'll need to use either urllib or urllib2 for the web, and the threading module is one way to run parallel requests. It's fairly easy to use as long as you keep your tasks properly isolated form each other.

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

.



Relevant Pages

  • Re: Looking for the right library for a simple HTTP client
    ... 1)to send the following kinds of HTTP requests and validate responses ... POST with multipart/form-data encoding ... I have Python 2.4.1 on Solaris 9 and 10, and I don't have any plan to ... I looked around and I found httplib and urllib. ...
    (comp.lang.python)
  • Re: CANT STOP THE PACKETS!!!
    ... > I have a multi-homed 98 box that keeps sending requests to my linux ... > Have a .bat in startup adding the route for the firewall to the routing ... I dont know what process is sending these requests or how to stop ... > Any suggestions as to how to stop these offending url requests from ...
    (comp.os.linux.security)
  • Re: Organic codes (ndc)
    ... Virtually no news servers honor "delete" requests. ... requests are suspect in the eyes of most server administrators, ... from the same place as the original message. ... I suggest that Joe save time and just put "oops" as his .sig. ...
    (rec.music.gdead)
  • Re: Outlook update KB958619 10/12/2008
    ... Please Reply to Newsgroup for the benefit of others ... Requests for assistance by email can not and will not be acknowledged. ... Oops! ...
    (microsoft.public.windowsupdate)