summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoanofarctangent@gmail.com <iduffe@dev.piny.svcs.cs.pdx.edu>2011-01-18 19:54:13 -0800
committerjoanofarctangent@gmail.com <iduffe@dev.piny.svcs.cs.pdx.edu>2011-01-18 19:54:13 -0800
commitefc6eaaa95bc2f2922d057eeac45c16e88d26079 (patch)
treee504438d8e918392787322705438a8527027bd0e
parent419dcb3367ee77ec47c0c048df8bc3f3a0f26c7b (diff)
parent08933e7b90bfb5c24c35148a756e67c5b5ca97bb (diff)
downloadpiny-code-efc6eaaa95bc2f2922d057eeac45c16e88d26079.tar.gz
piny-code-efc6eaaa95bc2f2922d057eeac45c16e88d26079.zip
Merge branch 'master' of piny.be:/srv/git/piny-code
-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 757bcaa..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-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' );