HTTP_RESPONSE_DATA

Description

An iRule event triggered when an HTTP::collect command has collected the specified amount of response data. Also triggered if the server closes the connection before the HTTP::collect command finishes processing.

Examples

when HTTP_RESPONSE_DATA {
    regsub "oursite" [HTTP::payload] "oursitedev" fixeddata
    log "Replacing payload with fixed data."
    HTTP::payload replace 0 $clen $fixeddata
    HTTP::release
}