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 with the appropriate error number.