Preflight for Google Cloud Storage signed URL not returning CORS response headers

断了今生、忘了曾经 提交于 2019-12-04 10:01:39

I have found a solution. I had to add x-goog-resumable to the list of response headers.

My CORS file is

[
    {
      "origin": ["*"],
      "responseHeader": [
        "Content-Type",
        "Access-Control-Allow-Origin",
        "x-goog-resumable"],
      "method": ["GET", "HEAD", "DELETE", "POST", "OPTIONS"],
      "maxAgeSeconds": 3600
    }
]

At least preflight started to work

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!