Script functions reference > Script functions in alphabetical order > G > GetHTTPHeaderValue

GetHTTPHeaderValue
Syntax
GetHTTPHeaderValue(header_field);
header_field
Description
Returns the value of a named field in the HTTP header of a job created by a request on an HTTP input connector.
Returns
A string specifying the value of the HTTP header field. If the field is not found, an empty string is returned.
Example
$type=GetHTTPHeaderValue("content");
Result:
$type="text"
OpenText StreamServe 5.6 Updated: 2013-03-01