diff options
author | joanofarctangent@gmail.com <iduffe@dev.piny.svcs.cs.pdx.edu> | 2011-01-18 19:54:13 -0800 |
---|---|---|
committer | joanofarctangent@gmail.com <iduffe@dev.piny.svcs.cs.pdx.edu> | 2011-01-18 19:54:13 -0800 |
commit | efc6eaaa95bc2f2922d057eeac45c16e88d26079 (patch) | |
tree | e504438d8e918392787322705438a8527027bd0e /pinyweb | |
parent | 419dcb3367ee77ec47c0c048df8bc3f3a0f26c7b (diff) | |
parent | 08933e7b90bfb5c24c35148a756e67c5b5ca97bb (diff) | |
download | piny-code-efc6eaaa95bc2f2922d057eeac45c16e88d26079.tar.gz piny-code-efc6eaaa95bc2f2922d057eeac45c16e88d26079.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 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' ); |