summaryrefslogtreecommitdiffstats
path: root/LayoutTests/http/tests/cookies/resources/getCookies.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'LayoutTests/http/tests/cookies/resources/getCookies.cgi')
-rwxr-xr-xLayoutTests/http/tests/cookies/resources/getCookies.cgi8
1 files changed, 8 insertions, 0 deletions
diff --git a/LayoutTests/http/tests/cookies/resources/getCookies.cgi b/LayoutTests/http/tests/cookies/resources/getCookies.cgi
new file mode 100755
index 0000000..c4377c3
--- /dev/null
+++ b/LayoutTests/http/tests/cookies/resources/getCookies.cgi
@@ -0,0 +1,8 @@
+#!/usr/bin/perl -wT
+use strict;
+
+print "Content-Type: text/plain\n";
+print "Cache-Control: no-store\n";
+print 'Cache-Control: no-cache="set-cookie"' . "\n";
+
+print "HTTP_COOKIE: " . ($ENV{HTTP_COOKIE} || "") . "\n\n";