Forum Discussion
chenchiiren_213
Nimbostratus
May 16, 2017HTTP Payload Log
I want to analyze http response content. So, i wrote an irule code as below:
when HTTP_REQUEST {
set replace_content 1
HTTP::header remove "Accept-Encoding"
if { [HTTP::version] eq...
tatmotiv
Cirrostratus
May 16, 2017Why don't you exclude images in your last event, e.g. like that:
when HTTP_RESPONSE_DATA {
if {$replace_content equals "1"} {
if { not ([HTTP::header "Content-Type"] starts_with "Image/") } {
set payload [HTTP::payload]
log $payload
}
}
}
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
