Forum Discussion
Girishf5_387421
Nimbostratus
Apr 04, 2019Issue in xml based http Irule
HI...while configuring the irule xml based http .we are facing some issue
Irule :-
when HTTP_REQUEST
{
set capture 0
if { [HTTP::header exists Content-length] and [ [HTTP::method] equals...
youssef1
Cumulonimbus
Apr 04, 2019Hi dude,
I fix all missing brace... so now you will not have any errors:
when HTTP_REQUEST {
set capture 0
if { [HTTP::header exists Content-length] and [HTTP::method] equals "POST" } {
set capture 1
HTTP::collect [HTTP::header Content-Length]
}
}
when HTTP_REQUEST_DATA {
if {$capture} {
if { [HTTP::payload] contains "UE" } {
log local0. "Logs: triggered wanted pool"
pool WEBRTC_POOL
}
} else {
pool PUSH_POOL
}
}
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects