diff options
author | Julian Blake Kongslie <jblake@omgwallhack.org> | 2011-01-18 19:58:47 -0800 |
---|---|---|
committer | Julian Blake Kongslie <jblake@omgwallhack.org> | 2011-01-18 19:58:47 -0800 |
commit | 440828df27d582be10ed3d131216f9e074b6ab29 (patch) | |
tree | 746130be0c7884b0cb214cd3f24cd86168458aae | |
parent | 08933e7b90bfb5c24c35148a756e67c5b5ca97bb (diff) | |
download | piny-code-440828df27d582be10ed3d131216f9e074b6ab29.tar.gz piny-code-440828df27d582be10ed3d131216f9e074b6ab29.zip |
and another one
-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' ); |