Forum Discussion
Pradeep_Kandala
Nimbostratus
Nov 18, 2012HTTP::redirect with get body content
Hi,
My irule is issueing a 302 redirection in the response, but I need to add a body data in http redirect. Is it possible? if yes how ?
Thanks a lot in advance
Pradeep
2 Replies
- What_Lies_Bene1
Cirrostratus
See this article for information on the command that can do so: https://devcentral.f5.com/wiki/iRules.HTTP__respond.ashx. Post here again if you need more help, with your rule code if necessary. - hoolio
Cirrostratus
Here's an example showing the redirect location header with some content:
HTTP::respond 302 content {my html content} Location "https://www.example.com/new_uri"
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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