summaryrefslogtreecommitdiff
path: root/test/integration/targets/uri/files/testserver.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/uri/files/testserver.py')
-rw-r--r--test/integration/targets/uri/files/testserver.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/integration/targets/uri/files/testserver.py b/test/integration/targets/uri/files/testserver.py
new file mode 100644
index 0000000000..d0d24a0050
--- /dev/null
+++ b/test/integration/targets/uri/files/testserver.py
@@ -0,0 +1,7 @@
+import mimetypes
+
+if __name__ == '__main__':
+ mimetypes.init()
+ mimetypes.add_type('application/json', '.json')
+ import SimpleHTTPServer
+ SimpleHTTPServer.test()