- 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 :-).
Showing
Please register or sign in to comment