Commit 777e09ba authored by Dave Lawrence's avatar Dave Lawrence

Bug 916935 - Add Access-Control-Allow-Headers to REST API to indicate which HTTP…

Bug 916935 - Add Access-Control-Allow-Headers to REST API to indicate which HTTP headers can be used when making the request r/a=glob
parent 982fb237
......@@ -124,6 +124,7 @@ sub response {
# Access Control
$response->header("Access-Control-Allow-Origin", "*");
$response->header("Access-Control-Allow-Headers", "origin, content-type, accept");
# 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