I have a S3 static page in a bucket and have added a Cloudfront distribution in front of it to access the webpage.
Now my question is: Is it possible to read the headers received by the webpage when the page is loaded? Is there a way I can print the headers on the webpage ?
Note: Im NOT about the response headers or the request headers before making a call from the client like mentioned over here: Accessing the web page's HTTP Headers in JavaScript
Im asking the same question as over here: Is it possible to read a request header from client javascript? for which there is no answer