Forum Discussion
Bryce_Klimoski
Nimbostratus
Jun 11, 2009HTTP::retry with post data
I have a need to retry web service requests if I receive an http response code other than a 200. The issue that I'm having is that I do not seem to be able to get the post request to work with HTTP::...
Nat_Thirasuttakorn
Employee
Jun 12, 2009I tested the following irule and looks like it uses same technique that you use (in your first irule) to retry post request.
http://devcentral.f5.com/wiki/default.aspx/iRules/HTTP_sideband_policy_checking.html
part of the irule that relates to this is
set request_original [HTTP::request][HTTP::payload [HTTP::header Content-Length]]
and this
HTTP::retry $request_original
I wonder if it might work if you save original post request to variable without qoute (")
set saved_post $HttpHeaders$HttpPostData
HTTP::retry $saved_post
or like this
HTTP::retry $HttpHeaders$HttpPostData
Nat
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