Claus Ibsen-2 wrote:
>
> If anyone knows if HttpClient will consider contenttype charset when
> you use it's method to get the response body as a String, then we
> could use this one and expose it on the HttpOperationFailedException
> as well so you can use this instead of dealing with the charset
> convertions yourself
Yes, org.apache.commons.httpclient.HttpMethod.getResponseBodyAsString()
does work that way, and it probably would be helpful for some future
camel riders, though I don't personally need that feature for my
current application.
--
View this message in context:
http://www.nabble.com/HttpProducer%3A-how-to-access-the-body-of-an-error-page--tp20475651s22882p20699379.html
Sent from the Camel - Users mailing list archive at Nabble.com.