]> granicus.if.org Git - apache/commitdiff
Might as well be pedantic while we're at it.
authorRich Bowen <rbowen@apache.org>
Wed, 9 May 2012 02:39:55 +0000 (02:39 +0000)
committerRich Bowen <rbowen@apache.org>
Wed, 9 May 2012 02:39:55 +0000 (02:39 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1335903 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/howto/cgi.xml

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