URL encoded HTTP response possible from BC 47

Hi,

I need to return an URLEncoded response from SAP BC 4.7 to a HTTP request. Even though I encode the outbound XML message in my flow and insert that into my output template, the Content-type in the response is text/xml and it is not encoded at the receiving end.

I know that SAP BC creates the HTTP response content-type based on the output template settings (extension), but does BC really decode the message before sending the response?

When I make a HTTP (PUT) from the service and encode the body the message shows at the recipient as URL encoded.

Any workarounds to this or similar experiences?