Forum Discussion
steve_michaels
Nov 08, 2021Cirrus
iRule script injection and chunked Response page issue
We are using a modified version of this iRule: https://devcentral.f5.com/s/articles/google-analytics-script-injection-911 (See our iRule below) to inject a script into HTTP Responses. This iRule wor...
- Nov 09, 2021
Hello Steve.
Try to downgrade your HTTP connection in order to avoid "Transfer-Encoding: chunked"
when HTTP_REQUEST { HTTP::header remove "Accept-Encoding" if { [HTTP::version] eq "1.1" } { if { [HTTP::header is_keepalive] } { HTTP::header replace "Connection" "Keep-Alive" } HTTP::version "1.0" } }
Regards,
Dario.
Nov 09, 2021
Hello Steve.
Try to downgrade your HTTP connection in order to avoid "Transfer-Encoding: chunked"
when HTTP_REQUEST {
HTTP::header remove "Accept-Encoding"
if { [HTTP::version] eq "1.1" } {
if { [HTTP::header is_keepalive] } {
HTTP::header replace "Connection" "Keep-Alive"
}
HTTP::version "1.0"
}
}
Regards,
Dario.
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