Commit 21cfe121 authored by David Lawrence's avatar David Lawrence

Bug 1098291: OPTION response for CORS requests to REST doesn't allow X-Requested-With

r=glob,a=glob
parent 1d1bb369
......@@ -135,7 +135,7 @@ sub response {
# Access Control
$response->header("Access-Control-Allow-Origin", "*");
$response->header("Access-Control-Allow-Headers", "origin, content-type, accept");
$response->header("Access-Control-Allow-Headers", "origin, content-type, accept, x-requested-with");
# ETag support
my $etag = $self->bz_etag;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment