Previously StaticFileHandler would allow access to files whose name
starts with the static root directory, not just those that are actually
in the directory.
The bug was introduced in Tornado 3.1 via commits 7b03cd62fb and
60952528.
When packaging tornado for Gentoo I found the documentation was not
available in the sdist provided on pypi. This adds the documentation so
that users can choose to install it locally.
auto2to3 is no longer a part of the Tornado development process,
and the MANIFEST exclusion rule just results in scary-looking warnings
when installing.
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.
Remove execute bit from tornado/test/runtests.py, which would unexpectedly
run the tests from a globally-installed version of tornado when run directly.
Add a new runtests.sh to make the recommended behavior more discoverable.
Remove run_pyversion_tests.py, which has been superceded by tox.
Update docs.
Closes#545.