Content-Length is not getting populated when backend does not send the length in the header.

Not applicable

The Backend system is not sending the Content-Length in the response Headers. So I have put an assign message in the response flow and setting "createNew=true". This populates Content-Length on Cloud Edge with an accurate length. But using the same approach using Apigee Edge On-premises, the Header variable does not appear to be set.

Please suggest where the problem can be?

4 2 925
2 REPLIES 2

Not applicable

Cloud snapshot1253-content-lenght.png

adas
Participant V

@SoneshSharma This should work whether you use Edge public cloud or Edge on-premises. Is it the same proxy you have deployed to both the environments? Can you attach the proxy, so that I can take a look? Might be some mistake while developing the proxy.