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");
// value of someCookieValue
response.removeHTTPHeader( "Set-Cookie" , "someCookieValue");
See Also
- addHTTPHeader() [response] - Adds an HTTP header to the response
scraper on 07/16/2010 at 5:16 pm
- Printer-friendly version
- Login or register to post comments