[Twisted-web] Re: [PATCH] nevow.static.File directory listing

Lee Harr missive at hotmail.com
Fri Apr 2 23:50:28 MST 2004

>I was getting an infinitely recursive redirect

Actually, this patch (to nevow.static.File) will also
take care of the redirect:

<             return self.redirect(request)
>             if not request.uri.endswith('/'):
>                 self.redirect(request)
>             return dirlist.DirectoryLister(self.fp.path,
>                                             None,
>                                             self.contentTypes,
>                                             self.contentEncodings,
>                                             self.defaultType)
>             #return self.redirect(request)

The new MSN 8: smart spam protection and 2 months FREE*  

More information about the Twisted-web mailing list