com.HttpPart.getHeaderName

Retrieve the name of an HTTP multipart header as a string, where the multipart header is specified by its position.

Syntax

getHeaderName(
   pos INTEGER )
  RETURNS STRING
  1. pos specifies the position of the multipart header.

Usage

Use this method to retrieve the name of an HTTP multipart header as a string.

The method returns the name for the header part specified by its position.

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 str = httppart.getHeaderName(3)