Forum Discussion
HTTP::Release
- Jun 27, 2023
As you correctly stated, the HTTP::release releases the data collected via HTTP::collect. HTTP iRules that don't meet this criteria don't need you to script it in any statement.
Also, the HTTP_REQUEST_DATA and the HTTP_RESPONSE_DATA events have an implicit release of the captured data, so the HTTP::release command isn't really necessary in those events unless you're scripting additional HTTP::collect events.
- Jun 27, 2023
I have written countless of iRules. Rarely do you need to use HTTP::Collect or HTTP::Release.
Usually, you will use iRules on the HTTP_Request method to perform modifications to HTTP headers, perform redirection, issue custom HTTP respones, load balance based upon URI path, or even stream replace text. For those cases that you need the entire HTTP payload, or a portion of it, to make a change to data, only then would you perform HTTP::Collect and HTTP::Release.
Not sure who your disagreement is with, but perhaps taking the F5 Developing iRules class would be of great benefit to them 😉
I have written countless of iRules. Rarely do you need to use HTTP::Collect or HTTP::Release.
Usually, you will use iRules on the HTTP_Request method to perform modifications to HTTP headers, perform redirection, issue custom HTTP respones, load balance based upon URI path, or even stream replace text. For those cases that you need the entire HTTP payload, or a portion of it, to make a change to data, only then would you perform HTTP::Collect and HTTP::Release.
Not sure who your disagreement is with, but perhaps taking the F5 Developing iRules class would be of great benefit to them 😉
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