Willem
Beware to do WARN logging in case it will log all the time
+LOG.warn(Missing the ContentType in the request entity!);
Its quite often not to set a Content-Type using camel http to just do
a text/plain GET.
So be sure that the http client sets a Content-Type if the end user
Hi Claus,
if (methodToUse.isEntityEnclosing()) {
((EntityEnclosingMethod)method).setRequestEntity(requestEntity);
if (requestEntity.getContentType() == null) {
LOG.warn(Missing the ContentType in the request entity!);
}
}
The Get method will be