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

Side by Side Diff: LayoutTests/http/tests/cache/resources/cache-simulator.cgi

Issue 135583003: checkpoint Blink-side work to use Apache on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: new rollup patch 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
OLDNEW
1 #!/usr/bin/perl -w 1 #!/usr/bin/perl -wT
2 2
3 use CGI; 3 use CGI;
4 use HTTP::Date; 4 use HTTP::Date;
5 5
6 print "Content-type: text/javascript\n"; 6 print "Content-type: text/javascript\n";
7 7
8 my $query = new CGI; 8 my $query = new CGI;
9 @names = $query->param; 9 @names = $query->param;
10 foreach (@names) { 10 foreach (@names) {
11 next if ($_ eq "uniqueId"); 11 next if ($_ eq "uniqueId");
12 print $_ . ": " . $query->param($_) . "\n"; 12 print $_ . ": " . $query->param($_) . "\n";
13 } 13 }
14 14
15 my $random_number = int(rand(1000000000000)); 15 my $random_number = int(rand(1000000000000));
16 # include randam etag to stop apache from doing any caching 16 # include randam etag to stop apache from doing any caching
17 print "ETag: " . $random_number . "\n"; 17 print "ETag: " . $random_number . "\n";
18 print "\n"; 18 print "\n";
19 19
20 print "randomNumber = " . $random_number . ";\n"; 20 print "randomNumber = " . $random_number . ";\n";
OLDNEW
« no previous file with comments | « LayoutTests/http/conf/win-httpd.conf ('k') | LayoutTests/http/tests/cache/resources/current-time.cgi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698