How do I make sure that headers are not added again when Callfunction is invoked via Gateway?

Solution for How do I make sure that headers are not added again when Callfunction is invoked via Gateway?
is Given Below:

If 2 functions are in different pods, it will be called via gateway. We are currently adding headers again in the scenario.