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.
On 04:18 am, levinie001@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
participants (2)
-
exarkun@twistedmatrix.com
-
Levi Nie