blob: 17dc34a683ba92c08ba168d89f8d7dc0294b6832 [file] [log] [blame]
#!/usr/bin/perl -wT
use strict;
print "Content-Type: text/plain\n";
print "Access-Control-Allow-Origin: *\n";
print "Access-Control-Allow-Credentials: true\n";
print "Access-Control-Allow-Headers: SET-COOKIE\n";
print "Cache-Control: no-store\n";
print 'Cache-Control: no-cache="set-cookie"' . "\n";
# We only map the SET_COOKIE request header to "Set-Cookie"
print "Set-Cookie: " . $ENV{"HTTP_SET_COOKIE"} . "\n\n";