Bläddra i källkod

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

bel2125 6 år sedan
förälder
incheckning
9e243206e6
2 ändrade filer med 10 tillägg och 0 borttagningar
  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"
+