removeHTTPHeader

void response.removeHTTPHeader ( String key, String value )

Description

Remove HTTP header from response.

Parameters

  • key Name of the header, as a string.
  • value Value associated with the header, as a string.

Return Values

Returns void.

Change Log

Version Description
4.5 Available for all editions.

Examples

Remove HTTP Header

 // Remove the HTTP Header Set-Cookie that has a
 // value of someCookieValue

 response.removeHTTPHeader( "Set-Cookie" , "someCookieValue");

See Also