> if the url points to a directory resource, then a list of the folder
> contents is displayed.
> How can this behaviour be disabled in web2?

Currently subclass static.File and override directoryListing (or
directoryLister, sorry i don't remember which)  You probably want it to
'raise http.HTTPError(responsecodes.FORBIDDEN)'

-David


_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web

Reply via email to