I am trying to access a file in a bucket on google cloud storage. I have set the CORS configuration for the bucket. But I am getting this error when I make a request across https://. It works fine for requests made across http://.
"XMLHttpRequest cannot load "FILENAME".
Request header field X-Requested-With is not allowed by Access-Control-Allow-Headers in preflight response."