httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rbo...@apache.org
Subject svn commit: r1336196 - in /httpd/httpd/trunk/docs/manual/howto: cgi.html.en cgi.xml
Date Wed, 09 May 2012 13:29:28 GMT
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;";
 }



Mime
View raw message