com.HTTPRequest.removeHeader

Removes an HTTP header for the request according to a name.

Syntax

removeHeader(
   name STRING )
  1. name is the HTTP header name to remove.

Usage

The removeHeader() method deletes an HTTP header identified by name.

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).