Forum Discussion
Lars_Terje_Vaal
Nimbostratus
Oct 31, 2007HTTP::method. Can it be changed?
Hi. I need to change the http method from POST to GET in a request. Is it possible?
Lars_Terje_Vaal
Nimbostratus
Nov 01, 2007Interesting, but we do not have the Web Accelerator license.
Do you pchang or anyone else have an example on how to build/recreate the request from the start inside iRules?
One thing is to create the header values and the uri which is easy to change with HTTP::uri and HTTP::header, but how to specify to use GET or POST?
Another thing.
If I receive a POST and wants to resend it with HTTP::retry. How can that be done?
This code
when HTTP_REQUEST {
set orginal_request [HTTP::request]
}
when HTTP_RESPOND {
if {some condition} {
HTTP::retry $orginal_request
}
}
Will only resend the request and not the POST data. If I do a collect, I will receive the POST data, but how can the payload be resent?
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