【发布时间】:2017-12-18 14:47:50
【问题描述】:
我不知道如何在 Google Cloud Storage CORS 请求中允许请求标头。
根据文档the Range HTTP header is supported,但我找不到允许客户端 XMLHttpRequests 这样做的方法。
这是我的 CORS 配置:
$ gsutil cors get gs://df-ai-movies
[{"maxAgeSeconds": 3600, "method": ["GET", "HEAD", "OPTIONS"], "origin": ["*"], "responseHeader": ["Date"]}]
【问题讨论】: