Forum Discussion
Arie
Oct 27, 2014Altostratus
I'm not sure what you are trying to accomplish. Redirects (301, 302, 307) are standard responses (per RFC 2616) that tell the client to retry the same request but at a different location.
A 200 (OK) would normally carry a payload (e.g. HTML, image data). It is not intended to instruct the client to treat it like a redirect.
If you're looking to manipulate the response you can use:
HTTP::response 200 content "your content here" header X-Custom-Header "custom header value"
Can you explain what you are looking for? Perhaps you are intending to rewrite the request (i.e. keep the same URL in the address bar of the browser but have the BIG-IP send a different payload/page? In that case you'll want to use
HTTP::uri
.