]> granicus.if.org Git - python/commit
- Use mimetypes.types_map to initialize extensions_map.
authorGuido van Rossum <guido@python.org>
Sun, 14 Jan 2001 23:21:25 +0000 (23:21 +0000)
committerGuido van Rossum <guido@python.org>
Sun, 14 Jan 2001 23:21:25 +0000 (23:21 +0000)
commit077153e9738466a9b0d3b47eebc648759e130803
tree108dc85542a55e8e96d52818ee10e25fc44392be
parent2d3eb133b7b66408ee7abf182101dbdc3358b8d9
- Use mimetypes.types_map to initialize extensions_map.
- Change the default file type to application/octet-stream.
- Add support to recognize .py, .c, .h files as text/plain (this is
  what I use most :-).
Lib/SimpleHTTPServer.py