webish.Directory: add a 'text/plain' link for files, to download as plaintext.
authorBrian Warner <warner@lothar.com>
Sat, 14 Jul 2007 06:45:35 +0000 (23:45 -0700)
committerBrian Warner <warner@lothar.com>
Sat, 14 Jul 2007 06:45:35 +0000 (23:45 -0700)
commit7bc031a81d6830b225a32b1d2f709ffd35d33e68
tree5147280cdbc925f8ad2ee5d5b4e3324547501e18
parent225fbfee57ee66a45f557af6411bb58bb6590af2
webish.Directory: add a 'text/plain' link for files, to download as plaintext.
This is useful to view (e.g.) .py files that would otherwise be served as
some weird text/x-python that browsers will just want to save to disk.
src/allmydata/webish.py