- 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 :-).
G
Guido van Rossum committed
077153e9738466a9b0d3b47eebc648759e130803
Parent: 2d3eb13