7 lines
149 B
Python
7 lines
149 B
Python
|
import mimetypes
|
||
|
import SimpleHTTPServer
|
||
|
|
||
|
if __name__ == '__main__':
|
||
|
mimetypes.add_type('application/json', '.json')
|
||
|
SimpleHTTPServer.test()
|