Переглянути джерело

Add test scripts for #768: Support CGI scripts with <LF> instead of <CRLF>

bel2125 6 роки тому
батько
коміт
9e243206e6
2 змінених файлів з 10 додано та 0 видалено
  1. 5 0
      test/cgidir/test-crlf.cgi
  2. 5 0
      test/cgidir/test-lf.cgi

+ 5 - 0
test/cgidir/test-crlf.cgi

@@ -0,0 +1,5 @@
+#!/bin/sh
+printf "Content-Type: text/plain\r\n"
+printf "\r\n"
+printf "This should be the first line\r\n"
+

+ 5 - 0
test/cgidir/test-lf.cgi

@@ -0,0 +1,5 @@
+#!/bin/sh
+printf "Content-Type: text/plain\n"
+printf "\n"
+printf "This should be the first line\n"
+