projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cgi: POSTed content - part of MP-562
[metaproxy-moved-to-github.git]
/
etc
/
cgi.sh
diff --git
a/etc/cgi.sh
b/etc/cgi.sh
index
478152c
..
e8efe63
100755
(executable)
--- a/
etc/cgi.sh
+++ b/
etc/cgi.sh
@@
-1,7
+1,13
@@
-#!/bin/sh
+#!/bin/bash
echo "Content-Type: text/plain"
echo ""
echo "Content-Type: text/plain"
echo ""
+echo "metaproxy/etc/cgi.sh"
+pwd
+env
+if test $CONTENT_LENGTH; then
+ echo "Echo content of length: $CONTENT_LENGTH:"
+ read -n $CONTENT_LENGTH c
+ echo "$c"
+fi
-echo "hello, world."
-sleep 35