Remove the header of given name from the current HttpPart object.


   name STRING )
  1. name is the name of the header to remove.


With an HTTP multipart object, the "Content-Type" header may be optional for each part:

A request might be rejected by some providers if the "Content-Type" header is set for a part. This method allows you to remove headers from an HttpPart object based on the header 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).


CALL req.removeHeader("Content-Type")