httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rbo...@apache.org
Subject svn commit: r1335903 - /httpd/httpd/trunk/docs/manual/howto/cgi.xml
Date Wed, 09 May 2012 02:39:55 GMT
Author: rbowen
Date: Wed May  9 02:39:55 2012
New Revision: 1335903

URL: http://svn.apache.org/viewvc?rev=1335903&view=rev
Log:
Might as well be pedantic while we're at it.

Modified:
    httpd/httpd/trunk/docs/manual/howto/cgi.xml

Modified: httpd/httpd/trunk/docs/manual/howto/cgi.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/howto/cgi.xml?rev=1335903&r1=1335902&r2=1335903&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/howto/cgi.xml (original)
+++ httpd/httpd/trunk/docs/manual/howto/cgi.xml Wed May  9 02:39:55 2012
@@ -234,7 +234,7 @@
 
       <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;";
 }



Mime
View raw message