commit | b5292a2e27dfb72a63f5ae51eb344405eb8a2f13 | [log] [tgz] |
---|---|---|
author | Alexandre Vassalotti <alexandre@peadrop.com> | Fri Apr 03 07:16:55 2009 +0000 |
committer | Alexandre Vassalotti <alexandre@peadrop.com> | Fri Apr 03 07:16:55 2009 +0000 |
tree | c5ebcacfd75bd5eabbc6fbc14e3f0763733f34f6 | |
parent | 3cde7c752ab38e357f9e74d6f5c50af0094e2220 [diff] |
Make http.server main program nicer for interactive use. Remove unreachable calls to test(). This restores the behavior of SimpleHTTPServer, where a user could type "python -m SimpleHTTPServer" and get a simple server for sharing files. Now, you can do the same thing with "python3 -m http.server".