Hello I want to generate and serve a custom directory listing(like serving a single file instead of the whole directory). So, I looked at twisted.web.static.File.directoryListing(). But, I could not find any usage examples. So, how is it used?
Specifically, I want to provide an array of file paths to generate the directory listing, so that I can pass file paths of different files which are not in the same directory and still render a directory listing. I know this can be done by directoryListing, but I cannot find any examples on how to overwrite it properly or how to pass it properly to twisted.web.server.Site() Sincerely proneon267
_______________________________________________ Twisted-web mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/twisted-web.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/6GZRPP52WXA3UMEGCZTWSX7BRREHDVX5/ Code of Conduct: https://twisted.org/conduct
