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)