commit | 1d10f3eac2248ca0af65eeb6414d3ef841419761 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Sun May 21 16:25:29 2000 +0000 |
committer | Guido van Rossum <guido@python.org> | Sun May 21 16:25:29 2000 +0000 |
tree | 7be7c41fe683b059552dec00c9477e9f2262af30 | |
parent | 4355093f94299572498d31fa50eec38df721cadb [diff] |
Changed list_directory() somewhat. It is now only called when there is no index.htm[l] file, and when it is called, it also spits out the headers. When an index.htm[l] file is present, the regular (file access) path is followed. Also, when the guessed content-type matches text/*, open the file in text mode; otherwise in binary mode.