Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / xmlhttprequest / methods.cgi
bloba34c78fb9ad5dead6bd1582b85b3927bb7cad6a4
1 #!/usr/bin/perl -wT
3 print "Content-type: text/plain\n";
4 print "Content-Length: 0\n";
5 my $cl = $ENV{'CONTENT_LENGTH'};
6 my $ct = $ENV{'CONTENT_TYPE'};
7 my $method = $ENV{'REQUEST_METHOD'};
8 if (defined $cl) {
9 print "REQLENGTH: $cl\n";
11 if (defined $ct) {
12 print "REQTYPE: $ct\n";
14 print "REQMETHOD: $method\n";
16 print "\n";