debugging http server's cgi handling

This commit is contained in:
2020-05-16 19:52:50 +00:00
parent 619a7dd318
commit 1e85b73566
3 changed files with 55 additions and 4 deletions

12
mio/t/c.sh Executable file
View 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}"