Availability
This routine is available starting with katl-commons 4.0.17
Syntax
httpGetHeader(headerName)
Description
Retrieves the value of the specified header (if existing) from the latest HTTP response.Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
headerName | string | Yes | The name of the reponse header. |
Return type
string
The value of the response header
Example
string hdrValue = httpGetHeader("Content-Type");
See also