Http endpoint and non utf-8 response

How can this be done? If at all...
I converted msg.payload to latin1 with buffer.toString , set msg.headers before the httpresponse with
msg.headers=[{'content-type':'text/xml; charset=iso-8859-1'}];

The client still receives in the text/html; charset=utf-8. headers.

I found older question on the internet with explanations on fixes for vulnerabilites in express, the underlying web server. unfortunately our legacy system flips on utf-8, even if its's only mentioned in the headers...

Posted too soon, although might help somebody else.
replaced the standard node-red http endpoint with this one from @inteli.city/node-red-contrib-http-plus

works a bunch!