]> git.ipfire.org Git - thirdparty/tornado.git/commit
Add method StaticFileHandler.get_content_version.
authorBen Darnell <ben@bendarnell.com>
Sun, 19 May 2013 16:41:12 +0000 (12:41 -0400)
committerBen Darnell <ben@bendarnell.com>
Sun, 19 May 2013 16:50:43 +0000 (12:50 -0400)
commit1ccf71a5b9d4f2c33705d3306ffc42e0e051046f
tree2288a7478b8af19fc78c9ccd23ed65a58f6c430f
parent9f96115b8039342fb80ed63fb5e30bd3b13739e3
Add method StaticFileHandler.get_content_version.

This method is easier for subclasses to override (the base class still
handles caching) and lets us use the post-validation absolute path,
fixing some issues with default_filename support.

Improve StaticFileHandler test coverage.
MANIFEST.in
setup.py
tornado/test/static/dir/index.html [new file with mode: 0644]
tornado/test/web_test.py
tornado/web.py