diff options
Diffstat (limited to 'pinyweb/cgi-bin/checkconstraint.cgi')
-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..65feabb 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-Methods: GET, OPTIONS, POST\nAccess-Control-Allow-Origin: *\n\n"; } else { my $type = $q->param( 't' ); |