Skip to content

Instantly share code, notes, and snippets.

@syllog1sm
Created Sep 14, 2013
Embed
What would you like to do?
#!/usr/bin/env python
from BaseHTTPServer import HTTPServer, test
from SimpleHTTPServer import SimpleHTTPRequestHandler
SimpleHTTPRequestHandler.extensions_map['.less'] = 'text/css'
SimpleHTTPRequestHandler.extensions_map['.ks'] = 'text/javascript'
test(SimpleHTTPRequestHandler, HTTPServer)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment