summaryrefslogtreecommitdiff
path: root/pinyweb
diff options
context:
space:
mode:
authorJulian Blake Kongslie <jblake@omgwallhack.org>2011-01-18 19:48:13 -0800
committerJulian Blake Kongslie <jblake@omgwallhack.org>2011-01-18 19:48:13 -0800
commite7c9099ecdd3a9a06a63afef822dcdf4db55267b (patch)
treefea3f9ffc991151d206be5f1504363e2637c93e2 /pinyweb
parenteb8dc87dca8089bfccaed79db0ed3b5483054472 (diff)
downloadpiny-code-e7c9099ecdd3a9a06a63afef822dcdf4db55267b.tar.gz
piny-code-e7c9099ecdd3a9a06a63afef822dcdf4db55267b.zip
One more header.
Diffstat (limited to 'pinyweb')
-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..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' );