diff options
author | Julian Blake Kongslie <jblake@omgwallhack.org> | 2011-01-18 19:53:56 -0800 |
---|---|---|
committer | Julian Blake Kongslie <jblake@omgwallhack.org> | 2011-01-18 19:53:56 -0800 |
commit | 08933e7b90bfb5c24c35148a756e67c5b5ca97bb (patch) | |
tree | 47c27fc7b3d675aa471422f936ab96cdedb3668f /pinyweb/cgi-bin | |
parent | e7c9099ecdd3a9a06a63afef822dcdf4db55267b (diff) | |
download | piny-code-08933e7b90bfb5c24c35148a756e67c5b5ca97bb.tar.gz piny-code-08933e7b90bfb5c24c35148a756e67c5b5ca97bb.zip |
more access control
Diffstat (limited to 'pinyweb/cgi-bin')
-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 65feabb..b05eaf5 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-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: *\n\n"; } else { my $type = $q->param( 't' ); |