Charset in http post ignored by tomcat


I’m working on a solution that is posting XML data via http post to an application running on a tomcat server. We are running version 7.1.2 of the IS.
It seems as the charset in the http header is being ignored when doing a http post (pub.client.http) but there is no issues with the content-type.
The output in the log on the receiving end looks like this:

2010-11-24 08:37:33,422 INFO [http-31580-1 ] controller.WebController ( - Content-Type => text/xml

For other applications posting data the charset is seen in the log:
2010-11-22 17:22:30,216 INFO [http-31580-1 ] controller.WebController ( - Content-Type => text/xml; charset=utf-8

Is there some additional setting required in order to pass the charset variable from the IS to the receiving application.


If you’re not already doing so, set the header when calling pub.client:http. The key would be content-type and the value would be text/xml;charset=utf-8