Re: 400 bad request POSTing to Tomcat 7.0.42

2015-03-03 Thread Brett Ryan
You didn't optimise as we suggested in the end, you're still building the content up in memory. As suggested by a few, write to a stream so nothing needs to consume your clients memory and will scale better Sent from my iPhone On 3 Mar 2015, at 22:06, Alessandro Manzoni

Re: 400 bad request POSTing to Tomcat 7.0.42

2015-03-03 Thread Alexey Panchenko
And that's kind of correct. application/xml does not care of charset. but text/xml does. On Tue, Mar 3, 2015 at 5:06 PM, Alessandro Manzoni manzoni.alessand...@gmail.com wrote: Il 03.03.2015 09.47, Alexey Panchenko ha scritto: I am curious about how the client code looks now, before we