blob: 2c523dc0a3a1cbf46fe2d02fe726d1e6356b40e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/usr/bin/perl -w
print "Content-type: text/html\n\n";
if ($ENV{'REQUEST_METHOD'} eq "POST") {
read(STDIN, $request, $ENV{'CONTENT_LENGTH'})
|| die "Could not get query\n";
print "<pre>$request</pre>";
print "<script>if (window.layoutTestController) layoutTestController.notifyDone();</script>";
} else {
print "Wrong method: " . $ENV{'REQUEST_METHOD'} . "\n";
}
|