Lagom Headers Filters does not pass the transformed request when handling the response?


I am using the Header Filters in the description of my service to transforms the requests before they are sent to the client but I have a little problem when receiving the client response. The request that I receive in the Header Filter headerFilterTransformClientResponse does not correspond to the request that I’ve been transformed in headerFilterTransformClientRequest

I have little doubts here:

  • Headers Filters shouldn’t give the transformed request to me when handling response?

  • It should be a better strategy to use handleRequestHeader in the ServiceCall API to enrich the headers?

I know that the Header Filter may only handle authentication and protocol negotiations but I really expected they give the transformed request to me.