Re: Batching HTTP requests with httplib (Python 2.7)

2012-09-18 Thread Neil Cerutti
On 2012-09-14, Xavier Combelle wrote: > Le 14/09/2012 12:56, Dwight Hutto a ?crit : >> service_num_list = [num for num in range(0,5)] >> for service_num in service_num_list: >> eval("web_service_call%i(%i)" % (service_num,service_num)) >> >> > service_num_list = [num for num in range(0,5)] s

Re: Batching HTTP requests with httplib (Python 2.7)

2012-09-17 Thread Xavier Combelle
instead of Le 14/09/2012 12:56, Dwight Hutto a écrit : service_num_list = [num for num in range(0,5)] for service_num in service_num_list: eval("web_service_call%i(%i)" % (service_num,service_num)) service_num_list = [num for num in range(0,5)] for service_num in service_num_list:

Re: Batching HTTP requests with httplib (Python 2.7)

2012-09-15 Thread Cameron Simpson
On 14Sep2012 10:53, Chicken McNuggets wrote: | On 14/09/2012 03:31, Cameron Simpson wrote: | > On 13Sep2012 19:34, Chicken McNuggets wrote: | > | I'm writing a simple library that communicates with a web service and am | > | wondering if there are any generally well regarded methods for batching

Re: Batching HTTP requests with httplib (Python 2.7)

2012-09-14 Thread Dwight Hutto
>> | The problem with most web services is that they require a list of >> | sequential commands to be executed in a certain order to complete a >> | given task (or at least the one I am using does) so having to manually >> | call each command is a bit of a pain. How would you go about the design >>

Re: Batching HTTP requests with httplib (Python 2.7)

2012-09-14 Thread Chicken McNuggets
On 14/09/2012 03:31, Cameron Simpson wrote: On 13Sep2012 19:34, Chicken McNuggets wrote: | I'm writing a simple library that communicates with a web service and am | wondering if there are any generally well regarded methods for batching | HTTP requests? | | The problem with most web services is

Re: Batching HTTP requests with httplib (Python 2.7)

2012-09-13 Thread Cameron Simpson
On 13Sep2012 19:34, Chicken McNuggets wrote: | I'm writing a simple library that communicates with a web service and am | wondering if there are any generally well regarded methods for batching | HTTP requests? | | The problem with most web services is that they require a list of | sequential

Batching HTTP requests with httplib (Python 2.7)

2012-09-13 Thread Chicken McNuggets
I'm writing a simple library that communicates with a web service and am wondering if there are any generally well regarded methods for batching HTTP requests? The problem with most web services is that they require a list of sequential commands to be executed in a certain order to complete a