DataScript: avi.http.remove_header

DataScript

Function avi.http.remove_header( name )
Description Removes all the instances of a specified HTTP header from the current request or response, depending on the event the script is executed within.
Events HTTP_REQ
HTTP_RESP
LB_DONE
Parameter name is a string specifying the header name. The name is treated as case insensitive.
Returns No return value
Example Remove a server response header that can identify which potential server vulnerabilities.
avi.http.remove_header("Server")

Note: This API is not supported in the events SSL_PRECONNECT, SSL_CLIENTHELLO, and SSL_HANDSHAKE_DONE.