response.deleteResponseHeader() (Method)

Removes a specified header record from the response.

Availability:

JavaScript - 1.2
Netscape Enterprise Server - 3.0
JavaScript syntax:NESdeleteResponseHeader(aHeader)
Argument list:aHeaderThe name of the header to be removed

This is part of the management of the request-response loop in the server. Many response headers will be added automatically by the NES server, and you may want to add others. Occasionally, the server may place a header into the response that you don't want to send back to the user. This method can be used to remove such a header.

See also:Netscape Enterprise Server