]> granicus.if.org Git - apache/commitdiff
Revert last night's change, as per nd's recommendation.
authorRich Bowen <rbowen@apache.org>
Wed, 9 May 2012 13:29:27 +0000 (13:29 +0000)
committerRich Bowen <rbowen@apache.org>
Wed, 9 May 2012 13:29:27 +0000 (13:29 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1336196 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/howto/cgi.html.en
docs/manual/howto/cgi.xml

index 03575a1c2c8c6d1cd39c82e2dd79e835be5f074a..e72b50bff3fef7f1750e22aa9250d43e6c674f5b 100644 (file)
 
       <pre class="prettyprint lang-perl">
 #!/usr/bin/perl
-print "Content-type: text/html\r\n\r\n";
+print "Content-type: text/html\n\n";
 print "Hello, World.";
       </pre>
 
@@ -486,7 +486,7 @@ print "Hello, World.";
 use strict;
 use warnings;
 
-print "Content-type: text/html\r\n\r\n";
+print "Content-type: text/html\n\n";
 foreach my $key (keys %ENV) {
     print "$key --&gt; $ENV{$key}&lt;br&gt;";
 }
index cd3a17d5280858b8092e70abfb2697bea4d575b3..bf6f4dc6c842fdf70cf5fc8ae375a6cea0e95593 100644 (file)
 
       <highlight language="perl">
 #!/usr/bin/perl
-print "Content-type: text/html\r\n\r\n";
+print "Content-type: text/html\n\n";
 print "Hello, World.";
       </highlight>
 
@@ -488,7 +488,7 @@ print "Hello, World.";
 use strict;
 use warnings;
 
-print "Content-type: text/html\r\n\r\n";
+print "Content-type: text/html\n\n";
 foreach my $key (keys %ENV) {
     print "$key --&gt; $ENV{$key}&lt;br&gt;";
 }