Open GoogleCodeExporter opened 8 years ago
It's more likely simple web masters than simple web servers that's the problem.
Even Python's SimpleHTTPServer takes a file extension->MIME type map.
http://docs.python.org/library/simplehttpserver.html
I'm not sure what the best solution is here. One could go from file
extensions, to trying to sniff the beginning bytes of the file, to ... It
seems like a slippery slope, but perhaps one worth venturing a little ways down.
Original comment by tfmorris
on 29 Dec 2010 at 6:53
Original issue reported on code.google.com by
ehsanul...@gmail.com
on 29 Dec 2010 at 3:34