Custom HTTP headers with Google Cloud CDN and Buck

2020-06-15 07:11发布

问题:

How can I send custom HTTP headers with a bucket backend for Cloud CDN without the x-goog-meta- prefix?

In particular, I'm trying to send a Content-Security-Policy header, which turns into x-goog-meta-Content-Security-Policy and thus is ignored by the browser.

Screenshot: Google Storage/ Bucket Meta data UI

Screenshot: Response headers