com.HttpPart.getHeaderCount

Retrieve the number of headers for the current HTTP part.

Syntax

getHeaderCount()
  RETURNS INTEGER
  1. 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)