diff options
author | joanofarctangent@gmail.com <iduffe@dev.piny.svcs.cs.pdx.edu> | 2011-01-18 19:59:07 -0800 |
---|---|---|
committer | joanofarctangent@gmail.com <iduffe@dev.piny.svcs.cs.pdx.edu> | 2011-01-18 19:59:07 -0800 |
commit | 8e32447f959402bc7b843b4828d35a45aec8b6e9 (patch) | |
tree | f832b2a39f6111d2679496048d2567cb3dbdb6ae /pinyweb | |
parent | efc6eaaa95bc2f2922d057eeac45c16e88d26079 (diff) | |
parent | 440828df27d582be10ed3d131216f9e074b6ab29 (diff) | |
download | piny-code-8e32447f959402bc7b843b4828d35a45aec8b6e9.tar.gz piny-code-8e32447f959402bc7b843b4828d35a45aec8b6e9.zip |
Merge branch 'master' of piny.be:/srv/git/piny-code
Diffstat (limited to 'pinyweb')
-rwxr-xr-x | pinyweb/cgi-bin/checkconstraint.cgi | 2 |
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' ); |