summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2018-11-04 10:50:02 +0000
committerDaniel Silverstone <dsilvers@digital-scurf.org>2018-11-04 10:50:02 +0000
commit7f27449422c6d68e02f0c9a830089e4e6a8d2b6b (patch)
tree329f05d786090cdcd772802597d42c79d0ccada1
parent080d27281b896ac629aeb5babf13615defbeb701 (diff)
downloadnetsurf-test-7f27449422c6d68e02f0c9a830089e4e6a8d2b6b.tar.gz
netsurf-test-7f27449422c6d68e02f0c9a830089e4e6a8d2b6b.tar.bz2
Find out if anything happens
-rwxr-xr-xcgi-bin/auth.cgi12
1 files changed, 12 insertions, 0 deletions
diff --git a/cgi-bin/auth.cgi b/cgi-bin/auth.cgi
new file mode 100755
index 0000000..bdd58a2
--- /dev/null
+++ b/cgi-bin/auth.cgi
@@ -0,0 +1,12 @@
+#!/usr/bin/python3
+
+import cgi
+import cgitb
+cgitb.enable()
+
+auth = cgi.parse_header("Authorization")
+
+print("Content-Type: text/plain")
+print("")
+
+print(repr(auth))