I'm adding a user-agent header in assign message policy in pre flow of proxy endpoint. It is being shown in trace but not getting passed to the target endpoint. I checked the curl it made, user agent header is not there.
I'm setting header like this :
<Header name="user-agent">{request.header.user-agent}</Header>
in the curl it is not getting added