Skip to content

Instantly share code, notes, and snippets.

View baumanj's full-sized avatar
🕴️

Jon Bauman baumanj

🕴️
View GitHub Profile
@ftiasch
ftiasch / server.py
Created August 13, 2015 09:52
python SimpleHTTPServer with custom MIME types
import SimpleHTTPServer
import SocketServer
PORT = 8000
class Handler(SimpleHTTPServer.SimpleHTTPRequestHandler):
pass
Handler.extensions_map['.shtml'] = 'text/html'