Details
Description
If there is no Content-Type header, the PostMethod instance used in CommonsHttpMessageSender will return null for getResponseHeader(). The code was assuming that this always returned non-null. I think this is due to a miss-match between PostMethod actual and expected behavior.
I've attached a svn diff that fixes this.
Applied. Thanks.