You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@apache.org on 2012/05/09 15:29:28 UTC

svn commit: r1336196 - in /httpd/httpd/trunk/docs/manual/howto: cgi.html.en cgi.xml

Author: rbowen
Date: Wed May  9 13:29:27 2012
New Revision: 1336196

URL: http://svn.apache.org/viewvc?rev=1336196&view=rev
Log:
Revert last night's change, as per nd's recommendation.

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

Modified: httpd/httpd/trunk/docs/manual/howto/cgi.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/howto/cgi.html.en?rev=1336196&r1=1336195&r2=1336196&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/howto/cgi.html.en (original)
+++ httpd/httpd/trunk/docs/manual/howto/cgi.html.en Wed May  9 13:29:27 2012
@@ -233,7 +233,7 @@
 
       <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;";
 }

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