Added Access-Control-Allow-Headers header to buildResponse