Re: [Httplib2-discuss] Asynchronous requests
Status: Beta
Brought to you by:
jcgregorio
From: Joe G. <jo...@bi...> - 2006-11-15 15:01:30
|
On 11/8/06, Blair Zajac <bl...@or...> wrote: > Hi, > > We're building a PyQt app around httplib2 and don't want to block the GUI while > httplib2 is making a request of our database backed REST API. > > Besides just doing your own threading around httplib2, is there another way to > do this? What about Twisted or asyncore? I haven't looked into this in great > detail, so if anybody has any directions and/or experience, that would be > appreciated. Right now that's not possible given how httplib2 (and httplib upon which it depends) is built. Given the number of requests I am getting it seems like a good idea to add a selector/generator style of interaction. But that looks like it will take a major re-architecting, so it may be a while. Thanks, -joe -- Joe Gregorio http://bitworking.org |