Of course I can set headers when issuing requests programmatically, i.e. for Ajax calls.
But is there a way to let the browser do its thing and access the request headers for resources in a document, similar to timing information provided by the Resource Timing API?
I'd like to know the complete set of headers the browser used when requesting the document and its resources.