2

Possible Duplicates:
Accessing HTTP Headers in Javascript?
How do I access the HTTP request header fields via JavaScript?

We can use httpwatch on IE or httpfox on Firefox to monitor http activity

If i don't want to use any plugs on browser...

Is it possible to monitor http request header on a page just by javascript?

Community
  • 1
  • 1
vance
  • 33
  • 6
  • Here's another one on this topic: http://stackoverflow.com/questions/220149/how-do-i-access-the-http-request-header-fields-via-javascript – Gert Grenander Jul 05 '10 at 04:50

2 Answers2

1

No, the JavaScript standard doesn't specify any way to access HTTP headers.

casablanca
  • 69,683
  • 7
  • 133
  • 150
1

Javascript only runs inside of a webpage. It can't access things like the http headers overall.

King Asoka
  • 46
  • 2