Sys.Net.WebRequestExecutor.getAllResponseHeaders Method

Gets all the response headers for the current request.

var responseHeaders = MyExecutor.getAllResponseHeaders();

Remarks

If a request finished successfully and with valid response data, this method returns all the response headers.

Example

The following example shows how to use the getAllResponseHeaders method by using the default Sys.Net.XMLHttpExecutor class.

See Also

Reference

Sys.Net.WebRequestManager Class

Sys.Net.WebRequest Class

Sys.Net.XMLHttpExecutor Class