summaryrefslogtreecommitdiff
path: root/pinyweb/cgi-bin
diff options
context:
space:
mode:
authorjoanofarctangent@gmail.com <iduffe@dev.piny.svcs.cs.pdx.edu>2011-01-18 19:59:07 -0800
committerjoanofarctangent@gmail.com <iduffe@dev.piny.svcs.cs.pdx.edu>2011-01-18 19:59:07 -0800
commit8e32447f959402bc7b843b4828d35a45aec8b6e9 (patch)
treef832b2a39f6111d2679496048d2567cb3dbdb6ae /pinyweb/cgi-bin
parentefc6eaaa95bc2f2922d057eeac45c16e88d26079 (diff)
parent440828df27d582be10ed3d131216f9e074b6ab29 (diff)
downloadpiny-code-8e32447f959402bc7b843b4828d35a45aec8b6e9.tar.gz
piny-code-8e32447f959402bc7b843b4828d35a45aec8b6e9.zip
Merge branch 'master' of piny.be:/srv/git/piny-code
Diffstat (limited to 'pinyweb/cgi-bin')
-rwxr-xr-xpinyweb/cgi-bin/checkconstraint.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/pinyweb/cgi-bin/checkconstraint.cgi b/pinyweb/cgi-bin/checkconstraint.cgi
index b05eaf5..4ff939c 100755
--- a/pinyweb/cgi-bin/checkconstraint.cgi
+++ b/pinyweb/cgi-bin/checkconstraint.cgi
@@ -12,7 +12,7 @@ use Piny;
my $q = CGI->new( );
if ( $q->request_method( ) eq "OPTIONS" ) {
- print "Status: 204 No Content\nAccess-Control-Allow-Headers: *\nAccess-Control-Allow-Methods: GET, OPTIONS, POST\nAccess-Control-Allow-Origin: *\n\n";
+ print "Status: 204 No Content\nAccess-Control-Allow-Headers: *\nAccess-Control-Allow-Methods: GET, OPTIONS, POST\nAccess-Control-Allow-Origin: *\nAccess-Control-Max-Age: 3600\n\n";
} else {
my $type = $q->param( 't' );