jquery - get http headers

lorraine picture lorraine · Oct 18, 2013 · Viewed 24.6k times · Source

How do I access a page's HTTP response headers via JavaScript?

Related to this question, which was modified to ask about accessing two specific HTTP headers.

Related:
How do I access the HTTP request header fields via JavaScript?

Answer