com.HttpPart.getHeaderCount
Retrieve the number of headers for the current HTTP part.
Syntax
getHeaderCount()
RETURNS INTEGER
- pos specifies the position of the multipart header.
Usage
Use this method to retrieve the number of HTTP headers for current HTTP part.
The method returns the number of HTTP headers for current part.
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).
Example
LET count = httppart.getHeaderCount(3)