使用GCS簽名的url功能(https://cloud.google.com/storage/docs/access-control/signed-urls)並想要強制響應內容處置時出現問題。Google Cloud Storage簽名的URL強制響應處置
我在過去曾經使用過一次,但現在我似乎無法得到它的工作,並且找不到有關Google棄用此功能的任何文檔。
我現在的例子網址:https://storage.googleapis.com/examplebucket/examplefile.pdf?GoogleAccessId=account&Expires=expire&Signature=xx&響應內容處置=直列
簽署,是工作,我能達到的文件,只是不能強迫性格。
如果我上傳文件爲Content-Disposition = attachment,那麼它不會將它內聯,反之亦然。
任何想法?