How do I intercept/modify result headers before proxy request finishes? #456

Closed
aaronshaf opened this Issue Sep 6, 2013 · 1 comment

Comments

Projects
None yet
2 participants

I am proxying an API which returns headers that need to be transformed.

Contributor

cronopio commented Dec 9, 2013

Hi @aaronshaf
We're doing a rewrite of the proxy to work with node 0.10.x, also Im working on improve the examples for the new proxy.

I got an example for what you need here https://github.com/nodejitsu/node-http-proxy/blob/better-examples/examples/middleware/modifyResponse-middleware.js

If you got troubles or questions about that example, the discuss is here #520

I'm goona close this, if you got further doubts please open a new issue

@cronopio cronopio closed this Dec 9, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment