Forum Discussion
Aditya_Mehra
Cirrus
Aug 31, 2018iRule help for
I have a virtual server and need to modify the traffic via an iRule
Requirement:
1. Need to add authorization via static credential
2. Request comes in as POST , should go as POST fro...
Kevin_Stewart
Employee
Aug 31, 2018Ah, I see. You're saying that the redirect changes the POST to a GET.
This is an expected behavior when you send a 301 or 302 redirect to a browser. Not all clients support this, but the better option may be to send a 307 instead.
See this: https://httpstatuses.com/307
You'd do this with an HTTP::respond instead:
HTTP::respond 307 Location "http://foo"
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