[Twisted-web] more vhost.NameVirtualHost implementation for nevow

David Reid dreid at dreid.org
Sat Apr 10 04:48:58 MDT 2004

Added a few features:
* Nesting vhost.NameVirtualHost instances

* Listing hosts if default == None and listHosts == True

* default, and listHosts can be passed to the constructor with default  
values of None, and True respectively.

* return rend.NotFound[0] if both default and listHosts are None

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vhost.py
Type: text/x-python
Size: 1718 bytes
Desc: not available
Url : http://pyramid.twistedmatrix.com/pipermail/twisted-web/attachments/20040410/0190b08c/vhost.py

More information about the Twisted-web mailing list