Forum Discussion
irule VS http profille
- Mar 21, 2015
I give it a test:
root@(bigip1)(cfg-sync Standalone)(Active)(/Common)(tmos) list ltm profile http customer_http ltm profile http customer_http { app-service none defaults-from http header-erase Headertest proxy-type reverse } root@(bigip1)(cfg-sync Standalone)(Active)(/Common)(tmos) list ltm rule http_header_test ltm rule http_header_test { when HTTP_REQUEST { HTTP::header insert "Headertest" "123" }
}
Then test with curl 10.1.1.73 -H "Headertest: 123", from the capture it shows http header Headertest still in the request.
thanks team it seems irule always win. the exact case which indicate me to ask this is : web server in my company doesn't follow HTTP protocol,if it see no accept-coding in request,it will compress response as gzip ,then send back.but if the accept-coding is shdc,web server will not compress. all I want to do is teach web server not to compress ....
so : if I disable accepr-codeing in http compression profile,then insert accept-coding:shdc in request when send to server for specific uri list or content list.
Does it work?
Besides this:I found uri list /content list is not as I expect.
in order to make /xyz* work ,it seems I need to add /xyz.* in uri list ,and add content type in content list,so confuing
Correct me if I am wrong
Recent Discussions
Related Content
* 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