ansible/test/integration/roles/test_uri/files/testserver.py

7 lines
149 B
Python
Raw Normal View History

import mimetypes
import SimpleHTTPServer
if __name__ == '__main__':
mimetypes.add_type('application/json', '.json')
SimpleHTTPServer.test()