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

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/resources/get-set-cookie.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 my $AGE_STRING = ""; 4 my $AGE_STRING = "";
5 if ($ENV{"QUERY_STRING"}) { # Assume any query string means "?clear=1" 5 if ($ENV{"QUERY_STRING"}) { # Assume any query string means "?clear=1"
6 $AGE_STRING = "expires=Thu, 19 Mar 1982 11:22:11 GMT"; 6 $AGE_STRING = "expires=Thu, 19 Mar 1982 11:22:11 GMT";
7 } 7 }
8 print "Set-Cookie: WK-test=1;$AGE_STRING\n"; 8 print "Set-Cookie: WK-test=1;$AGE_STRING\n";
9 print "Set-Cookie: WK-test-secure=1; secure;$AGE_STRING\n"; 9 print "Set-Cookie: WK-test-secure=1; secure;$AGE_STRING\n";
10 print "Set-Cookie2: WK-test-2=1;$AGE_STRING\n\n"; 10 print "Set-Cookie2: WK-test-2=1;$AGE_STRING\n\n";
11 print "$ENV{\"HTTP_COOKIE\"}\n" if $ENV{"HTTP_COOKIE"}; 11 print "$ENV{\"HTTP_COOKIE\"}\n" if $ENV{"HTTP_COOKIE"};
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698