|
Revision 43, 335 bytes
(checked in by jm3, 2 years ago)
|
- set Id property on all text-based files
- correctly handling the "no keys found" case with link to GPG help page (just a stub at this point)
|
- Property svn:executable set to
*
- Property svn:keywords set to
Id
|
| Line | |
|---|
| 1 |
#!/bin/bash |
|---|
| 2 |
|
|---|
| 3 |
echo Content-type: text/html |
|---|
| 4 |
echo |
|---|
| 5 |
if [ -z "$CONTENT_LENGTH" ] |
|---|
| 6 |
then |
|---|
| 7 |
echo "<h1>Your browser did not send a 'POST' HTTP request; bailing.</h1> " |
|---|
| 8 |
exit 1 |
|---|
| 9 |
fi |
|---|
| 10 |
|
|---|
| 11 |
echo "<pre>" |
|---|
| 12 |
echo \$CONTENT_LENGTH is $CONTENT_LENGTH |
|---|
| 13 |
echo \$REQUEST_METHOD is $REQUEST_METHOD |
|---|
| 14 |
echo "</pre>" |
|---|
| 15 |
echo |
|---|
| 16 |
|
|---|
| 17 |
#data=`cat | sed "s/+/ /g"` |
|---|
| 18 |
data=`cat` |
|---|
| 19 |
|
|---|
| 20 |
echo $data |
|---|
| 21 |
|
|---|