Forum Discussion
Wil_Schultz_101
Nimbostratus
Feb 12, 2007How can I grab an HTTP header on CACHE_REQUEST?
I'm trying to grab [HTTP::header "Content-Length"] to use during CACHE_REQUEST so I can make sure the BigIP does not cache blank pages. I've tried to set a global variable during HTTP::Response and no...
zbirmingham
Nimbostratus
Mar 28, 2008Thanks, works great now.
- The_BhattmanMay 31, 2011
Nimbostratus
Hi Tidenz, - You could do this in HTTP_RESPONSE. Here's a simple example which inserts the server IP:port in a header named SERVER_INFO:
when HTTP_RESPONSE { HTTP::header insert SERVER_INFO "[IP::server_addr]:[TCP::server_port]" }
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