summaryrefslogtreecommitdiff
path: root/test.cgi
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2021-12-11 20:28:36 +0000
committerubq323 <ubq323@ubq323.website>2021-12-11 20:28:36 +0000
commite79fe819f672d3454532181182732080e056592a (patch)
treed242d5e454026e40ebeeaa0c655e7764075ebd8e /test.cgi
add existing content
Diffstat (limited to 'test.cgi')
-rwxr-xr-xtest.cgi7
1 files changed, 7 insertions, 0 deletions
diff --git a/test.cgi b/test.cgi
new file mode 100755
index 0000000..d7fc38a
--- /dev/null
+++ b/test.cgi
@@ -0,0 +1,7 @@
+#!/usr/bin/env python3
+import os
+print("Content-Type: text/plain")
+print()
+print(os.getenv("QUERY_STRING",""))
+print(__name__)
+print(os.getcwd())