Forum Discussion
Joe_Hsy_45207
Nimbostratus
Mar 08, 2007HTTP:version not working? Breaks CreditCardScrubber irule on chunked sites
Hi,
I posted a message a few weeks ago indicating the somehow turning on Web Accelerator Module broke an iRule. Turns out it had nothing to do with the WAM, but rather whether the website had chunking or not. In fact, adding WAM seem to fix the issue by actally adding a content-length header.
The problem was that in the iRule, there is a section that changes the HTTP:version from "1.1" to "1.0" in order to disable chunking. Unfortunately, the HTTP:version setting appears to be broken (seen on both BIG-IP 9.2.5 Build 5.1 and BIG-IP 9.2.5 Build 5.1 BIG-IP 9.4.0 Build 617.5). I logged the version right after setting it:
HTTP::version "1.0"
log local0. "HTTP:version = [HTTP::version]"
and it still showed versiona as "1.1".
Has anyone else run into this problem? Maybe there are other ways to disable chunking (or maybe work with the chunking).
Thanks!
//Joe
- hoolio
Cirrostratus
I think some (or all?) of the values of HTTP (and other?) commands are cached. I know HTTP::uri is cached, so even if you update it, the value displayed in a subsequent log statement isn't changed. For example:when HTTP_REQUEST { log local0. "original version: [HTTP::version]" log local0. "original URI: [HTTP::uri]" HTTP::version 1.0 HTTP::uri /new/uri/ log local0. "original version: [HTTP::version]" log local0. "original URI: [HTTP::uri]" }
- Joe_Hsy_45207
Nimbostratus
Hi Aaron, - Joe_Hsy_45207
Nimbostratus
Hi Aaron,
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