summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xhybrid.cgi10
-rwxr-xr-xtest.cgi5
2 files changed, 10 insertions, 5 deletions
diff --git a/hybrid.cgi b/hybrid.cgi
new file mode 100755
index 0000000..49ede51
--- /dev/null
+++ b/hybrid.cgi
@@ -0,0 +1,10 @@
+#!/usr/bin/env python3
+
+import sys
+import os
+
+sys.stdout.write("Content-Type: text/plain\r\n")
+sys.stdout.write("\r\n")
+
+import pprint
+pprint.pprint(os.environ)
diff --git a/test.cgi b/test.cgi
deleted file mode 100755
index e100958..0000000
--- a/test.cgi
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-printf 'Content-Type: text/plain\r\n'
-printf '\r\n'
-env