[Twisted-Python] HTTP interface to a program using twisted

Gabriel Rossetti gabriel.rossetti at arimaz.com
Mon Aug 4 08:20:39 EDT 2008

Phil Mayers wrote:
> On Mon, Aug 04, 2008 at 09:48:10AM +0200, Gabriel Rossetti wrote:
>> Hello everyone,
>> I have a program using twisted and I'd like it to obtain it's data 
>> via  the HTTP protocol. The idea is that the clients will connect to a  
> It's best to ask such questions on the twisted-web list.
Ok, but I just want to make sure first it's better to use twisted.web 
rather than implementing my own protocol, since I won't be serving any 
web pages and to me it seams twisted.web is designed to serve web content.
>> service using HTTP and will send it data encapsulated in the HTTP. 
>> The  data will be extracted and sent on to another service to 
>> process  it,  which will in turn send the processed data back to the 
>> HTTP service to  send back to the client. I think twisted.web and/or 
>> twisted.web2 should  be used for this, is that correct? I don't quite 
>> get the difference in  between web/web2, could someone please 
>> enlighten me? I have read the  documentation but it doesn't say much.
> Use twisted.web - twisted.web2 will have all its good bits stolen and 
> put into .web, then be (I guess) deprecated:
>  http://twistedmatrix.com/trac/wiki/TwistedWebPlan
> Can someone with access re-add this prominent link to the 
> twistedmatrix front page?
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

More information about the Twisted-Python mailing list