Allow cross-domain access to headers.
authorDave Longley <dlongley@digitalbazaar.com>
Mon, 16 Sep 2013 01:40:21 -0400
changeset 1994 3aafa144b3ba
parent 1993 f0e26cfbdcfb
child 1995 75d5c386c359
Allow cross-domain access to headers.
contexts/.htaccess
test-suite/.htaccess
--- a/contexts/.htaccess	Sun Sep 15 22:21:26 2013 -0400
+++ b/contexts/.htaccess	Mon Sep 16 01:40:21 2013 -0400
@@ -2,4 +2,5 @@
    ForceType application/ld+json
    SetHandler default_handler
    Header add Access-Control-Allow-Origin *
+   Header add Access-Control-Allow-Headers *
 </FilesMatch>
--- a/test-suite/.htaccess	Sun Sep 15 22:21:26 2013 -0400
+++ b/test-suite/.htaccess	Mon Sep 16 01:40:21 2013 -0400
@@ -2,6 +2,7 @@
    ForceType application/ld+json
    SetHandler default_handler
    Header set Access-Control-Allow-Origin "*"
+   Header set Access-Control-Allow-Headers "*"
 </FilesMatch>
 
 # Turn off MultiViews