HTTP_REQUEST_RELEASE¶
Description¶
An iRule event triggered when the system is about to
release HTTP data on the serverside of the
connection. This event is triggered after modules process the HTTP
request.
Examples¶
when HTTP_REQUEST_RELEASE {
log local0. "[IP::client_addr]:[TCP::client_port]: [HTTP::method] to [HTTP::host][HTTP::uri] using pool [LB::server]"
}
# OAM HTTP Request Header inserts are sent to the pool during the HTTP_REQUEST_RELEASE
when HTTP_REQUEST_RELEASE {
set remoteUser ""
if {[HTTP::header exists "OAM_REMOTE_USER"]} {
set remoteUser [HTTP::header "OAM_REMOTE_USER"]
HTTP::header insert "X-EAP-USE" ${remoteUser}
}
}
Disabled HTTP:: commands¶
Most HTTP commands should work in this event. The
following commands are disallowed for HTTP_REQUEST_RELEASE:
The BIG-IP API Reference documentation contains community-contributed content. F5 does not monitor or control community code contributions. We make no guarantees or warranties regarding the available code, and it may contain errors, defects, bugs, inaccuracies, or security vulnerabilities. Your access to and use of any code available in the BIG-IP API reference guides is solely at your own risk.