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.
steve_michaels
Cirrus
@Dario - Thanks very much for that suggestion. It worked for our use case. High-5 to you for that help!
-Steve
Nov 13, 2021
Great to hear that your issue is solved now.
Please, don't forget to mark my answer as "the best" to help other people to find it.
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