summaryrefslogtreecommitdiff
path: root/pinyweb/cgi-bin/checkconstraint.cgi
diff options
context:
space:
mode:
authorJulian Blake Kongslie <jblake@omgwallhack.org>2011-01-18 19:53:56 -0800
committerJulian Blake Kongslie <jblake@omgwallhack.org>2011-01-18 19:53:56 -0800
commit08933e7b90bfb5c24c35148a756e67c5b5ca97bb (patch)
tree47c27fc7b3d675aa471422f936ab96cdedb3668f /pinyweb/cgi-bin/checkconstraint.cgi
parente7c9099ecdd3a9a06a63afef822dcdf4db55267b (diff)
downloadpiny-code-08933e7b90bfb5c24c35148a756e67c5b5ca97bb.tar.gz
piny-code-08933e7b90bfb5c24c35148a756e67c5b5ca97bb.zip
more access control
Diffstat (limited to 'pinyweb/cgi-bin/checkconstraint.cgi')
-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 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' );