Forum Discussion
Mike_62629
Nimbostratus
Apr 07, 2008Has anyone successfully used dicts in iRules?
Has anyone successfully used dicts in iRules?
I'm currently iterating through a loop doing string comparisons and think it may be a bit more efficient to do a single dictionary lookup instead. I w...
Dave_Whitla_254
Nimbostratus
Mar 11, 2011That's great, except sometimes you really want a dict.
Does anyone have an answer to the original question?
I'm trying to save the request headers during HTTP_REQUEST so I can conditionally log them in HTTP_RESPONSE.
My approach is to copy the headers to a dict and iterate over the dict in HTTP_RESPONSE as the request headers are no longer available by that point.
Dave
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