소스 검색

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"
+