debugging http server's cgi handling
This commit is contained in:
12
mio/t/c.sh
Executable file
12
mio/t/c.sh
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
file=/home/hyung-hwan/projects/hawk/lib/run.c
|
||||
|
||||
echo "Content-Type: text/plain"
|
||||
echo "Custom-Attribute: abcdef"
|
||||
#echo "Content-Length: " `stat -c %s "${file}"`
|
||||
echo "Content-Length: iurtoitre"
|
||||
echo
|
||||
|
||||
echo "abc"
|
||||
exec cat "${file}"
|
Reference in New Issue
Block a user