You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: