]> git.ipfire.org Git - thirdparty/tornado.git/commit
make StaticFileHandler support default filename 151/head 155/head
authorMatthew Graham <mdg149@gmail.com>
Sat, 9 Oct 2010 19:27:13 +0000 (15:27 -0400)
committerMatthew Graham <mdg149@gmail.com>
Sat, 16 Oct 2010 03:02:54 +0000 (23:02 -0400)
commit638a151d96d681d3bdd6ba5ce5dcf2bd1447959c
tree044829797095d7ca4412227ea6447366d0be113b
parent86bd681ff841f272c5205f24cd2a613535ed2e00
make StaticFileHandler support default filename

allows an app to configure a handler so that if a request to '/dir', the
handler will return '/dir/index.html' if it exists.  the default
filename, the 'index.html' part is configurable when creating the
Handler object.  Using the default filename is optional.
tornado/web.py