- From: Anthony van der Hoorn <anthony.vanderhoorn@gmail.com>
- Date: Mon, 24 Nov 2014 11:45:04 -0800
- To: "public-web-perf@w3.org" <public-web-perf@w3.org>
Received on Monday, 24 November 2014 19:45:31 UTC
Hi all *As a client side developer, for the response of the current page, I would like to be able to access the headers that the browser received. Currently I can do this for any ajax request that I make, but not for the root response itself.* As far as I can tell, access headers has been loosely discussed in the past, but not as a main topic. Getting access to these headers would be hugely helpful and facilitate a number of use cases that are currently very difficult to handle. *My primary use cases* is to be able to set a response header which represents the ID of the request. Then as various client profiling events happens, I can notify the server which request they correlate to. Currently, I have to try and set this ID as a `data` attribute on the script or inject a meta tag in page on the server. Modifying the content of the page becomes difficult when trying trying to create modules that are cross cutting and shouldn't require the user to modify the content of their page. Would be interested in peoples thoughts and if other people would use this info as well. Cheers Anthony
Received on Monday, 24 November 2014 19:45:31 UTC