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

Side by Side Diff: LayoutTests/http/tests/plugins/resources/dump-post.pl

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 use CGI; 3 use CGI;
4 4
5 my $cgi = new CGI; 5 my $cgi = new CGI;
6 6
7 # Just dump whatever was POSTed to us as text/plain. 7 # Just dump whatever was POSTed to us as text/plain.
8 8
9 print $cgi->header('text/plain'); 9 print $cgi->header('text/plain');
10 10
11 # Different versions of the CGI module use different conventions for accessing 11 # Different versions of the CGI module use different conventions for accessing
12 # the POST data. Because at least one of them will be empty, there is no harm 12 # the POST data. Because at least one of them will be empty, there is no harm
13 # in printing both. 13 # in printing both.
14 print $cgi->param('POSTDATA'); 14 print $cgi->param('POSTDATA');
15 print $cgi->param('keywords'); 15 print $cgi->param('keywords');
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698