How to distinguish between headers of proxied response to those of the original response object
Opened this issue · 0 comments
eladbs commented
Hi,
Is there a way in the userResHeaderDecorator
to distinguish between headers of the proxied response to those of the original response object?
Is there a way to make sure that some headers are not overriding those in the original response?
For i.e. let's say I have CORS module enabled on the route - it will put the header access-control-allow-origin
in the response object.
if the underlying service I proxy my request to will put the same header as well, it will override the original one.
Is it possible to distinguish somehow? exclude header from proxied response?
Thanks!
Elad.