Reply To: How do I forward to another host?

Splash Forums Rewrite Users How do I forward to another host? Reply To: How do I forward to another host?

#26709

Hey Anders!

Making changes against master is fine as long as you send a pull request that has a test case! I’m really glad that you’re looking in to improving the proxy features. I’ve actually missed headers myself – as this is a crucial feature for true proxying.

I think that enabling by default and allowing addition of additional filters and handlers is a good idea.

Something like this as a rough idea:

Proxy.to().with(new ProxyInterceptor() {
public void intercept(Rewrite event, EvaluationContext context) {
}
})

What do you think?
~Lincoln