[Twisted-Python] Twisted 1.0.4 - NameVirtualHost and isLeaf
1 May
2003
1 May
'03
12:03 a.m.
Hi, people. Thanks to the recent explanations about `isLeaf', I was able to figure out that if, with Twisted 1.0.4, I was unable to get virtual hosts to work, this was because the `isLeaf' attribute of an instance of `vhost.NameVirtualHost' is not True. At least with the setup I use. the instance's `render' method is not called then, and consequently, the dispatching to the proper resource does not occur. In what circumstance would it be useful that such an instance has `isLeaf' set to False? I presume this might help me better understand resources. -- François Pinard http://www.iro.umontreal.ca/~pinard
7664
Age (days ago)
7664
Last active (days ago)
0 comments
1 participants
participants (1)
-
pinard@iro.umontreal.ca