Alex Greif <alex.greif <at> gmail.com> writes:

> 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?

up to now I've been using this:

class FileNoDir(static.File):
    def directoryListing(self):
        return None

Kind regards,
DQ


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

Reply via email to