1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-08-07 16:02:55 +03:00

Linux shell scripts used as CGI process must still return \r\n at the end of header lines

This commit is contained in:
bel2125
2016-03-20 20:27:30 +01:00
parent 62a66c43e5
commit a6eb2d232f
2 changed files with 6 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/sh
echo "Content-Type: text/plain"
echo
printf "Content-Type: text/plain\r\n"
printf "\r\n"
echo "This is a shell script called by CGI:"
echo