Julio,Sorry I dont quite understand the question can you give more details and use case?
Are you getting a response from an http route in the gateway, which includes an image (jpg)? And want this to be passed to the browser? Are you trying to change the mime? Or just pass through? Could you add some details?Thanks..