com.HttpResponse.getHeaderName
Returns the name of a header by position.
Syntax
getHeaderName(
pos INTEGER )
RETURNS STRING
- pos specifies the ordinal position of the header.
Usage
The getHeaderName()
method returns the name of the HTTP response header
depending on the position passed as parameter.
In case of error, the method throws an exception and sets the
status
variable. Depending on the error, a human-readable description of the
problem is available in the sqlca.sqlerrm
register. See Error handling in GWS calls (status).