getResponseHeader - method of the HttpRequest object
Description:
Retrieves the value of a specific HTTP request header.
Syntax:
String getResponseHeader(String sHeader)
Parameters:
sHeader | (String) Defined header (for example "Content-Type"). |
---|
Example:
JavaScriptVBScriptSelect and copy to clipboard
sHeader = oReq.getResponseHeader("Content-Type");
sHeader = oReq.getResponseHeader("Content-Type")