XMLHttpRequest Question:

Explain getAllResponseHeaders ()?

XHR2 Interview Question
XHR2 Interview Question

Answer:

getAllResponseHeaders ():- Returns a collection of HTTP headers as string. If you want a specific header value, you can use getResponseHeader ("header name")


Previous QuestionNext Question
Explain Onreadystatechange?What is responseText?