How to setup custom response header in AWS S3
<p>I want to take my application to offline mode, and I want to register a service worker.
My files are hosted in AWS S3 and I've created worker.js in the root of my bucket. I may need to return custom header "Service-Worker-Allowed" in  response from AWS S3 for worker.js 
Currently custom headers are requiring to have x-amz-meta headers, which I can not use. Are there anyway to add that header by using Cloudfront or Cloudfare? Or any other suggestions?</p>