Think that integration tests are failing in json due to lack of json mimetype. Make a short wrapper to fix that.

This commit is contained in:
Toshio Kuratomi
2015-05-21 10:59:57 -07:00
parent 16c2de84ec
commit b312e97a30
2 changed files with 10 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
import mimetypes
import SimpleHTTPServer
if __name__ == '__main__':
mimetypes.add_type('application/json', '.json')
SimpleHTTPServer.test()