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?

#26705

anderskristian
Participant

I understand that I cannot manage the headers in Proxy.to()
The variable HttpRequest proxyRequest is updated inside method copyRequestHeaders()

I need to add extra headers to proxyRequest and I need to read the headers from proxyResponse as well.

Super to know it is not included, I will try to work something out 🙂

Right now I am thinking about making a collection of header handlers on the proxy instance, where the current copying of headers from “request –> proxyRequest” is in handlers that is default active. Then we as clients can add individual handlers”…
What GIT branch should I make such a change in ?

Yesterday I made a small exception message change in “master” – I have reconsidered that that was not a good idea to user master.

/Anders