Redirect based on backend response #63
|
Is it possible to redirect a request to another backend which was returned from original backend with a specific response status code? Eg. I have a backend which has some business logic to respond with status code 421 (Misdirect Request) to some ill-formed requests. In that case, I want |
Replies: 2 comments 6 replies
|
Hello. Just to make sure I get it right: by "redirecting a request" you mean internal routing to another backend, not redirecting in HTTP sense (301, 302 response code), right? |
|
Hi Sergey,Yes, you are right and sorry if my wording was imprecise. If the web server at the target backend answers with 421, pound should route the original request to another specified backend.Thanks for answering,Martin Am 16.02.2026 um 20:59 schrieb Sergey Poznyakoff ***@***.***>:
Hello. Just to make sure I get it right: by "redirecting a request" you mean internal routing to another backend, not redirecting in HTTP sense (301, 302 response code), right?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Hello. Just to make sure I get it right: by "redirecting a request" you mean internal routing to another backend, not redirecting in HTTP sense (301, 302 response code), right?