Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(450)

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/methods.cgi

Issue 155173003: checkpoint unix version of apache win32 patch. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: re-daemonize apache on unix Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/usr/bin/perl -w 1 #!/usr/bin/perl -wT
2 2
3 print "Content-type: text/plain\n"; 3 print "Content-type: text/plain\n";
4 print "Content-Length: 0\n"; 4 print "Content-Length: 0\n";
5 my $cl = $ENV{'CONTENT_LENGTH'}; 5 my $cl = $ENV{'CONTENT_LENGTH'};
6 my $ct = $ENV{'CONTENT_TYPE'}; 6 my $ct = $ENV{'CONTENT_TYPE'};
7 my $method = $ENV{'REQUEST_METHOD'}; 7 my $method = $ENV{'REQUEST_METHOD'};
8 if (defined $cl) { 8 if (defined $cl) {
9 print "REQLENGTH: $cl\n"; 9 print "REQLENGTH: $cl\n";
10 } 10 }
11 if (defined $ct) { 11 if (defined $ct) {
12 print "REQTYPE: $ct\n"; 12 print "REQTYPE: $ct\n";
13 } 13 }
14 print "REQMETHOD: $method\n"; 14 print "REQMETHOD: $method\n";
15 15
16 print "\n"; 16 print "\n";
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698