[Twisted-web] (no subject)

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Mon Dec 24 00:32:41 EST 2012


On 04:18 am, levinie001 at gmail.com wrote:
>ok, i'm new to twisted web.
>
>when a server.Site is inited with resource.Resource and the protocol is
>http.HTTPChannel. how the two(Resource and protocol) work.

Hi,

Congrats on getting started with Twisted Web.

This question isn't easily understood or answered.  "How" they work is 
completely and concisely defined by the source code, which you can read. 
I suspect this isn't really the answer you're looking for, though.

Take a look at http://www.catb.org/esr/faqs/smart-questions.html and 
http://sscce.org/ and then please feel free to ask another question.

Jean-Paul



More information about the Twisted-web mailing list