commit | cbf85f26dcd3abff5a8c64fd94cb6486c90e069d | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Sat Nov 01 16:13:02 2008 +0300 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Sat Nov 01 16:13:02 2008 +0300 |
tree | 7a4fdc783c1be822432608ff0f91dc23a0d9c5fc | |
parent | e1b25ed97cd853fc12d648a455407b6fda07cd65 [diff] |
Tests: avoid using \r\n.
diff --git a/fastcgi.t b/fastcgi.t index 556b1f6..72b8ea7 100644 --- a/fastcgi.t +++ b/fastcgi.t
@@ -71,11 +71,14 @@ my $count; while( $request->Accept() >= 0 ) { - print "Location: http://localhost:8080/redirect\r\n"; - print "Content-type: text/html\r\n"; - print "\r\n"; - print "SEE-THIS\n"; - print ++$count; + $count++; + print <<EOF; +Location: http://localhost:8080/redirect +Content-Type: text/html + +SEE-THIS +$count +EOF } FCGI::CloseSocket($socket);