product-microgateway icon indicating copy to clipboard operation
product-microgateway copied to clipboard

In interceptors header to replace gets added even when the header in not present in the client request

Open suksw opened this issue 3 years ago • 0 comments

Description:

In interceptors, if the interceptor service returns a response with headersToReplace param, these headers gets added even when the header to replace is not present in the client request. Yet, when the relevant header is present the replacing works correctly without duplications.

As a work around, the interceptor service must check if the header exists before adding the headersToReplace param.

Steps to reproduce:

Affected Product Version:

RC2

Environment details (with versions):

  • OS:
  • Client:
  • Env (Docker/K8s):

Optional Fields

Related Issues:

Suggested Labels:

Suggested Assignees:

suksw avatar Dec 13 '21 07:12 suksw